Chi-Tech
test/framework/chi_mesh/LogicalVolume/lv_boolean_test1.lua
nodes={}
N=40
L=5
xmin = -L/2
dx = L/N
for i=1,(N+1) do
k=i-1
nodes[i] = xmin + k*dx
end
({
node_sets = {nodes,nodes,nodes},
})
lv1 = chi_mesh.SphereLogicalVolume.Create({r = 1.3, x=1.0, y=-1.0, z=2.0})
lv2 = chi_mesh.RCCLogicalVolume.Create({r = 1.3,
x0=-0.8, y0=-0.8, z0=-1.5,
vx=1.0, vy=1.0, vz=3.0})
({
parts = { { op=true, lv=lv2 },
{ op=false, lv=lv1 } }
})
chiMeshHandlerExportMeshToVTK("lv_boolean_test1")
virtual void Execute()
void chiMeshHandlerExportMeshToVTK(char FileName)
void chiVolumeMesherSetProperty(int PropertyIndex, varying PropertyValue)