Chi-Tech
doc_RCCLogicalVolume.h
Go to the documentation of this file.
1
/**
2
\addtogroup chi_mesh__RCCLogicalVolume
3
4
## Additional Example
5
\code
6
chiMeshHandlerCreate()
7
8
mesh={}
9
N=40
10
L=5
11
xmin = -L/2
12
dx = L/N
13
for i=1,(N+1) do
14
k=i-1
15
mesh[i] = xmin + k*dx
16
end
17
chiMeshCreateUnpartitioned3DOrthoMesh(mesh,mesh,mesh)
18
chiVolumeMesherExecute();
19
20
lv1 = chi_mesh.RCCLogicalVolume.Create({r = 1.3, x0=L/2, y0=L/2, z0 = -1.0, vz = 2.0})
21
chiVolumeMesherSetProperty(MATID_FROMLOGICAL, lv1, 1)
22
23
lv2 = chi_mesh.RCCLogicalVolume.Create({r = 1.3,
24
x0=-0.8, y0=-0.8, z0=-1.5,
25
vx=1.0, vy=1.0, vz=3.0})
26
chiVolumeMesherSetProperty(MATID_FROMLOGICAL, lv2, 2)
27
28
chiMeshHandlerExportMeshToVTK("lv_rcc_test1")
29
\endcode
30
31
\image html framework/chi_mesh/LogicalVolume/lv_rcc_test1.png width=500px
32
*/
framework
mesh
LogicalVolume
doc
doc_RCCLogicalVolume.h
Generated by
1.9.3