COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Namespaces | Variables
atest-blockmesh-backstep2d-zoltan.py File Reference

Go to the source code of this file.

Namespaces

 atest-blockmesh-backstep2d-zoltan
 

Variables

tuple root = cf.Core.root()
 
tuple env = cf.Core.environment()
 
int x_parts = 4
 
int y_parts = 2
 
int step_length = 10
 
float step_height = 4.9e-3
 
float channel_height = 5.2e-3
 
int channel_length = 150
 
float top_grading = 0.2
 
float bottom_grading = 0.2
 
float step_x_grading = 0.8
 
float channel_x_grading = 1.5
 
int step_x_segs = 20
 
int step_y_segs = 11
 
int channel_x_segs = 180
 
int channel_y_segs = 9
 
tuple domain = root.create_component('Domain', 'cf3.mesh.Domain')
 
tuple blocks = domain.create_component('model', 'cf3.mesh.BlockMesh.BlockArrays')
 
tuple points = blocks.create_points(dimensions = 2, nb_points = 13)
 
tuple block_nodes = blocks.create_blocks(6)
 
list y_segs = [int(math.ceil(step_y_segs/2.)), int(math.floor(step_y_segs/2.)), int(math.floor(channel_y_segs/2.)), int(math.ceil(channel_y_segs/2.))]
 
tuple block_subdivs = blocks.create_block_subdivisions()
 
tuple gradings = blocks.create_block_gradings()
 
tuple inlet_patch = blocks.create_patch_nb_faces(name = 'inlet', nb_faces = 2)
 
tuple step_top = blocks.create_patch_nb_faces(name = 'step_top', nb_faces = 1)
 
tuple step_front = blocks.create_patch_nb_faces(name = 'step_front', nb_faces = 2)
 
tuple top_patch = blocks.create_patch_nb_faces(name = 'top', nb_faces = 2)
 
tuple bottom_patch = blocks.create_patch_nb_faces(name = 'bottom', nb_faces = 1)
 
tuple outlet_patch = blocks.create_patch_nb_faces(name = 'outlet', nb_faces = 4)
 
tuple mesh = domain.create_component('Mesh', 'cf3.mesh.Mesh')
 
tuple make_par_data = domain.create_component('MakeParData', 'cf3.solver.actions.ParallelDataToFields')
 
tuple load_balancer = domain.create_component('LoadBalancer', 'cf3.mesh.actions.LoadBalance')
 
Send comments to:
COOLFluiD Web Admin