COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Variables
atest-blockmesh-backstep Namespace Reference

Variables

tuple root = cf.Core.root()
 
tuple env = cf.Core.environment()
 
int x_parts = 4
 
int y_parts = 2
 
int z_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 blocks = root.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 = root.create_component('Mesh', 'cf3.mesh.Mesh')
 

Variable Documentation

tuple block_nodes = blocks.create_blocks(6)

Definition at line 51 of file atest-blockmesh-backstep.py.

tuple block_subdivs = blocks.create_block_subdivisions()

Definition at line 61 of file atest-blockmesh-backstep.py.

tuple blocks = root.create_component('model', 'cf3.mesh.BlockMesh.BlockArrays')

Definition at line 34 of file atest-blockmesh-backstep.py.

float bottom_grading = 0.2

Definition at line 25 of file atest-blockmesh-backstep.py.

tuple bottom_patch = blocks.create_patch_nb_faces(name = 'bottom', nb_faces = 1)

Definition at line 92 of file atest-blockmesh-backstep.py.

float channel_height = 5.2e-3

Definition at line 21 of file atest-blockmesh-backstep.py.

int channel_length = 150

Definition at line 22 of file atest-blockmesh-backstep.py.

float channel_x_grading = 1.5

Definition at line 27 of file atest-blockmesh-backstep.py.

int channel_x_segs = 180

Definition at line 31 of file atest-blockmesh-backstep.py.

int channel_y_segs = 9

Definition at line 32 of file atest-blockmesh-backstep.py.

tuple env = cf.Core.environment()

Definition at line 8 of file atest-blockmesh-backstep.py.

tuple gradings = blocks.create_block_gradings()

Definition at line 69 of file atest-blockmesh-backstep.py.

tuple inlet_patch = blocks.create_patch_nb_faces(name = 'inlet', nb_faces = 2)

Definition at line 77 of file atest-blockmesh-backstep.py.

tuple mesh = root.create_component('Mesh', 'cf3.mesh.Mesh')

Definition at line 102 of file atest-blockmesh-backstep.py.

tuple outlet_patch = blocks.create_patch_nb_faces(name = 'outlet', nb_faces = 4)

Definition at line 95 of file atest-blockmesh-backstep.py.

tuple points = blocks.create_points(dimensions = 2, nb_points = 13)

Definition at line 36 of file atest-blockmesh-backstep.py.

tuple root = cf.Core.root()

Definition at line 7 of file atest-blockmesh-backstep.py.

tuple step_front = blocks.create_patch_nb_faces(name = 'step_front', nb_faces = 2)

Definition at line 84 of file atest-blockmesh-backstep.py.

float step_height = 4.9e-3

Definition at line 20 of file atest-blockmesh-backstep.py.

int step_length = 10

Definition at line 19 of file atest-blockmesh-backstep.py.

tuple step_top = blocks.create_patch_nb_faces(name = 'step_top', nb_faces = 1)

Definition at line 81 of file atest-blockmesh-backstep.py.

float step_x_grading = 0.8

Definition at line 26 of file atest-blockmesh-backstep.py.

int step_x_segs = 20

Definition at line 29 of file atest-blockmesh-backstep.py.

int step_y_segs = 11

Definition at line 30 of file atest-blockmesh-backstep.py.

float top_grading = 0.2

Definition at line 24 of file atest-blockmesh-backstep.py.

tuple top_patch = blocks.create_patch_nb_faces(name = 'top', nb_faces = 2)

Definition at line 88 of file atest-blockmesh-backstep.py.

int x_parts = 4

Definition at line 14 of file atest-blockmesh-backstep.py.

int y_parts = 2

Definition at line 15 of file atest-blockmesh-backstep.py.

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.))]

Definition at line 60 of file atest-blockmesh-backstep.py.

int z_parts = 2

Definition at line 16 of file atest-blockmesh-backstep.py.

Send comments to:
COOLFluiD Web Admin