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

Variables

int h = 1
 
float nu = 0.0001
 
int re_tau = 180
 
 u_tau = re_tau*nu/h
 
int a_tau = re_tau**2
 
tuple Uc = a_tau/nu*(h**2/2.)
 
float u_ref = 0.5
 
tuple root = cf.Core.root()
 
tuple env = cf.Core.environment()
 
tuple model = root.create_component('NavierStokes', 'cf3.solver.ModelUnsteady')
 
tuple domain = model.create_domain()
 
tuple physics = model.create_physics('cf3.UFEM.NavierStokesPhysics')
 
tuple solver = model.create_solver('cf3.UFEM.Solver')
 
tuple wale = solver.add_unsteady_solver('cf3.UFEM.les.WALE')
 
tuple ns_solver = solver.add_unsteady_solver('cf3.UFEM.NavierStokesSemiImplicit')
 
float tstep = 0.025
 
int y_segs = 32
 
int x_size = 4
 
int z_size = 4
 
int x_segs = 32
 
int z_segs = 32
 
 ungraded_h = h
 
tuple blocks = domain.create_component('blocks', 'cf3.mesh.BlockMesh.BlockArrays')
 
tuple points = blocks.create_points(dimensions = 2, nb_points = 6)
 
tuple block_nodes = blocks.create_blocks(2)
 
tuple block_subdivs = blocks.create_block_subdivisions()
 
tuple gradings = blocks.create_block_gradings()
 
tuple left_patch = blocks.create_patch_nb_faces(name = 'left', nb_faces = 2)
 
tuple bottom_patch = blocks.create_patch_nb_faces(name = 'bottom', nb_faces = 1)
 
tuple top_patch = blocks.create_patch_nb_faces(name = 'top', nb_faces = 1)
 
tuple right_patch = blocks.create_patch_nb_faces(name = 'right', nb_faces = 2)
 
tuple nb_procs = cf.Core.nb_procs()
 
tuple mesh = domain.create_component('Mesh', 'cf3.mesh.Mesh')
 
tuple create_point_region = domain.create_component('CreatePointRegion', 'cf3.mesh.actions.AddPointRegion')
 
tuple partitioner = domain.create_component('Partitioner', 'cf3.mesh.actions.PeriodicMeshPartitioner')
 
tuple link_horizontal = partitioner.create_link_periodic_nodes()
 
tuple link_spanwise = partitioner.create_link_periodic_nodes()
 
 lss = ns_solver.VelocityLSS.LSS
 
tuple ic_u = solver.InitialConditions.NavierStokes.create_initial_condition(builder_name = 'cf3.UFEM.InitialConditionFunction', field_tag = 'navier_stokes_u_solution')
 
tuple ic_g = solver.InitialConditions.NavierStokes.create_initial_condition(builder_name = 'cf3.UFEM.InitialConditionFunction', field_tag = 'body_force')
 
 bc_u = ns_solver.VelocityLSS.BC
 
tuple stats = solver.add_unsteady_solver('cf3.solver.actions.TurbulenceStatistics')
 
tuple restart_writer = solver.add_restart_writer()
 
tuple dir_avg = solver.TimeLoop.children.WriteRestartManager.create_component('DirectionalAverage', 'cf3.solver.actions.DirectionalAverage')
 
tuple skip_director = solver.add_unsteady_solver('cf3.solver.ActionDirectorWithSkip')
 
tuple print_timings = skip_director.create_component('PrintTimingTree', 'cf3.common.PrintTimingTree')
 
tuple time = model.create_time()
 

Variable Documentation

int a_tau = re_tau**2

Definition at line 10 of file atest-ufem-les-wale.py.

bc_u = ns_solver.VelocityLSS.BC

Definition at line 188 of file atest-ufem-les-wale.py.

tuple block_nodes = blocks.create_blocks(2)

Definition at line 65 of file atest-ufem-les-wale.py.

tuple block_subdivs = blocks.create_block_subdivisions()

Definition at line 69 of file atest-ufem-les-wale.py.

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

Definition at line 56 of file atest-ufem-les-wale.py.

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

Definition at line 81 of file atest-ufem-les-wale.py.

tuple create_point_region = domain.create_component('CreatePointRegion', 'cf3.mesh.actions.AddPointRegion')

Definition at line 112 of file atest-ufem-les-wale.py.

tuple dir_avg = solver.TimeLoop.children.WriteRestartManager.create_component('DirectionalAverage', 'cf3.solver.actions.DirectionalAverage')

Definition at line 210 of file atest-ufem-les-wale.py.

tuple domain = model.create_domain()

Definition at line 28 of file atest-ufem-les-wale.py.

tuple env = cf.Core.environment()

Definition at line 16 of file atest-ufem-les-wale.py.

tuple gradings = blocks.create_block_gradings()

Definition at line 73 of file atest-ufem-les-wale.py.

int h = 1

Definition at line 6 of file atest-ufem-les-wale.py.

tuple ic_g = solver.InitialConditions.NavierStokes.create_initial_condition(builder_name = 'cf3.UFEM.InitialConditionFunction', field_tag = 'body_force')

Definition at line 182 of file atest-ufem-les-wale.py.

tuple ic_u = solver.InitialConditions.NavierStokes.create_initial_condition(builder_name = 'cf3.UFEM.InitialConditionFunction', field_tag = 'navier_stokes_u_solution')

Definition at line 178 of file atest-ufem-les-wale.py.

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

Definition at line 77 of file atest-ufem-les-wale.py.

tuple link_horizontal = partitioner.create_link_periodic_nodes()

Definition at line 122 of file atest-ufem-les-wale.py.

tuple link_spanwise = partitioner.create_link_periodic_nodes()

Definition at line 127 of file atest-ufem-les-wale.py.

lss = ns_solver.VelocityLSS.LSS

Definition at line 156 of file atest-ufem-les-wale.py.

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

Definition at line 99 of file atest-ufem-les-wale.py.

tuple model = root.create_component('NavierStokes', 'cf3.solver.ModelUnsteady')

Definition at line 27 of file atest-ufem-les-wale.py.

tuple nb_procs = cf.Core.nb_procs()

Definition at line 93 of file atest-ufem-les-wale.py.

tuple ns_solver = solver.add_unsteady_solver('cf3.UFEM.NavierStokesSemiImplicit')

Definition at line 36 of file atest-ufem-les-wale.py.

float nu = 0.0001

Definition at line 7 of file atest-ufem-les-wale.py.

tuple partitioner = domain.create_component('Partitioner', 'cf3.mesh.actions.PeriodicMeshPartitioner')

Definition at line 118 of file atest-ufem-les-wale.py.

tuple physics = model.create_physics('cf3.UFEM.NavierStokesPhysics')

Definition at line 29 of file atest-ufem-les-wale.py.

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

Definition at line 57 of file atest-ufem-les-wale.py.

tuple print_timings = skip_director.create_component('PrintTimingTree', 'cf3.common.PrintTimingTree')

Definition at line 217 of file atest-ufem-les-wale.py.

int re_tau = 180

Definition at line 8 of file atest-ufem-les-wale.py.

tuple restart_writer = solver.add_restart_writer()

Definition at line 206 of file atest-ufem-les-wale.py.

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

Definition at line 87 of file atest-ufem-les-wale.py.

tuple root = cf.Core.root()

Definition at line 15 of file atest-ufem-les-wale.py.

tuple skip_director = solver.add_unsteady_solver('cf3.solver.ActionDirectorWithSkip')

Definition at line 215 of file atest-ufem-les-wale.py.

tuple solver = model.create_solver('cf3.UFEM.Solver')

Definition at line 30 of file atest-ufem-les-wale.py.

tuple stats = solver.add_unsteady_solver('cf3.solver.actions.TurbulenceStatistics')

Definition at line 195 of file atest-ufem-les-wale.py.

tuple time = model.create_time()

Definition at line 221 of file atest-ufem-les-wale.py.

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

Definition at line 84 of file atest-ufem-les-wale.py.

float tstep = 0.025

Definition at line 43 of file atest-ufem-les-wale.py.

float u_ref = 0.5

Definition at line 12 of file atest-ufem-les-wale.py.

u_tau = re_tau*nu/h

Definition at line 9 of file atest-ufem-les-wale.py.

tuple Uc = a_tau/nu*(h**2/2.)

Definition at line 11 of file atest-ufem-les-wale.py.

ungraded_h = h

Definition at line 53 of file atest-ufem-les-wale.py.

tuple wale = solver.add_unsteady_solver('cf3.UFEM.les.WALE')

Definition at line 33 of file atest-ufem-les-wale.py.

int x_segs = 32

Definition at line 50 of file atest-ufem-les-wale.py.

int x_size = 4

Definition at line 47 of file atest-ufem-les-wale.py.

int y_segs = 32

Definition at line 45 of file atest-ufem-les-wale.py.

int z_segs = 32

Definition at line 51 of file atest-ufem-les-wale.py.

int z_size = 4

Definition at line 48 of file atest-ufem-les-wale.py.

Send comments to:
COOLFluiD Web Admin