Chi-Tech
chi_mesh.BooleanLogicalVolume

Modules

 chi_mesh.BooleanLogicalVolumeArgumentPair
 

Detailed Description

Example usage:

Create this object:

params =
{
param_name1 = value1,
param_name2 = value2,
--etc.
}

Required Input parameters

Usage Examples:

test/framework/chi_mesh/LogicalVolume/lv_boolean_test1.lua

Additional Example A

The code below defines a logical volume that is within logical volume 1 but outside logical volume 2

({
params = {{true, lv1}, {false, lv2}}
})

Additional Example B

mesh={}
N=40
L=5
xmin = -L/2
dx = L/N
for i=1,(N+1) do
k=i-1
mesh[i] = xmin + k*dx
end
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")
Handle chiMeshHandlerCreate()
void chiMeshHandlerExportMeshToVTK(char FileName)
Two chiMeshCreateUnpartitioned3DOrthoMesh(array_float x_nodes, array_float y_nodes, array_float z_nodes)
void chiVolumeMesherSetProperty(int PropertyIndex, varying PropertyValue)
void chiVolumeMesherExecute()