![]() |
COOLFluiD
Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
|
Variables | |
| float | h = 0.5 |
| int | re_tau = 50 |
| float | nu = 0.0001 |
| int | a_tau = re_tau**2 |
| tuple | Uc = a_tau/nu*(h**2/2.) |
| 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 | ns_solver = solver.add_unsteady_solver('cf3.UFEM.NavierStokes') |
| 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() |
| float | grading = 1.2 |
| 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 | mesh = domain.create_component('Mesh', 'cf3.mesh.Mesh') |
| tuple | partitioner = domain.create_component('Partitioner', 'cf3.mesh.actions.PeriodicMeshPartitioner') |
| tuple | link_horizontal = partitioner.create_link_periodic_nodes() |
| list | u_in = [0., 0.] |
| tuple | ic_g = solver.InitialConditions.create_initial_condition(builder_name = 'cf3.UFEM.InitialConditionFunction', field_tag = 'body_force') |
| bc = ns_solver.BoundaryConditions | |
| tuple | pressure_integral = solver.add_unsteady_solver('cf3.UFEM.SurfaceIntegral') |
| tuple | bulk_velocity = solver.add_unsteady_solver('cf3.UFEM.BulkVelocity') |
| lss = ns_solver.LSS | |
| tuple | write_manager = solver.add_unsteady_solver('cf3.solver.actions.TimeSeriesWriter') |
| tuple | writer = write_manager.create_component('PVTUWriter', 'cf3.mesh.VTKXML.Writer') |
| tuple | time = model.create_time() |
| int | u_max = 0 |
| int a_tau = re_tau**2 |
Definition at line 8 of file atest-ufem-navier-stokes-periodic-channel-2d.py.
| bc = ns_solver.BoundaryConditions |
Definition at line 99 of file atest-ufem-navier-stokes-periodic-channel-2d.py.
| tuple block_nodes = blocks.create_blocks(2) |
Definition at line 41 of file atest-ufem-navier-stokes-periodic-channel-2d.py.
| tuple block_subdivs = blocks.create_block_subdivisions() |
Definition at line 45 of file atest-ufem-navier-stokes-periodic-channel-2d.py.
| tuple blocks = domain.create_component('blocks', 'cf3.mesh.BlockMesh.BlockArrays') |
Definition at line 32 of file atest-ufem-navier-stokes-periodic-channel-2d.py.
| tuple bottom_patch = blocks.create_patch_nb_faces(name = 'bottom', nb_faces = 1) |
Definition at line 58 of file atest-ufem-navier-stokes-periodic-channel-2d.py.
| tuple bulk_velocity = solver.add_unsteady_solver('cf3.UFEM.BulkVelocity') |
Definition at line 111 of file atest-ufem-navier-stokes-periodic-channel-2d.py.
| tuple domain = model.create_domain() |
Definition at line 24 of file atest-ufem-navier-stokes-periodic-channel-2d.py.
| tuple env = cf.Core.environment() |
Definition at line 13 of file atest-ufem-navier-stokes-periodic-channel-2d.py.
| float grading = 1.2 |
Definition at line 49 of file atest-ufem-navier-stokes-periodic-channel-2d.py.
| tuple gradings = blocks.create_block_gradings() |
Definition at line 50 of file atest-ufem-navier-stokes-periodic-channel-2d.py.
| float h = 0.5 |
Definition at line 5 of file atest-ufem-navier-stokes-periodic-channel-2d.py.
| tuple ic_g = solver.InitialConditions.create_initial_condition(builder_name = 'cf3.UFEM.InitialConditionFunction', field_tag = 'body_force') |
Definition at line 89 of file atest-ufem-navier-stokes-periodic-channel-2d.py.
| tuple left_patch = blocks.create_patch_nb_faces(name = 'left', nb_faces = 2) |
Definition at line 54 of file atest-ufem-navier-stokes-periodic-channel-2d.py.
| tuple link_horizontal = partitioner.create_link_periodic_nodes() |
Definition at line 76 of file atest-ufem-navier-stokes-periodic-channel-2d.py.
| lss = ns_solver.LSS |
Definition at line 118 of file atest-ufem-navier-stokes-periodic-channel-2d.py.
| tuple mesh = domain.create_component('Mesh', 'cf3.mesh.Mesh') |
Definition at line 70 of file atest-ufem-navier-stokes-periodic-channel-2d.py.
| tuple model = root.create_component('NavierStokes', 'cf3.solver.ModelUnsteady') |
Definition at line 23 of file atest-ufem-navier-stokes-periodic-channel-2d.py.
| tuple ns_solver = solver.add_unsteady_solver('cf3.UFEM.NavierStokes') |
Definition at line 29 of file atest-ufem-navier-stokes-periodic-channel-2d.py.
| float nu = 0.0001 |
Definition at line 7 of file atest-ufem-navier-stokes-periodic-channel-2d.py.
| tuple partitioner = domain.create_component('Partitioner', 'cf3.mesh.actions.PeriodicMeshPartitioner') |
Definition at line 73 of file atest-ufem-navier-stokes-periodic-channel-2d.py.
| tuple physics = model.create_physics('cf3.UFEM.NavierStokesPhysics') |
Definition at line 25 of file atest-ufem-navier-stokes-periodic-channel-2d.py.
| tuple points = blocks.create_points(dimensions = 2, nb_points = 6) |
Definition at line 33 of file atest-ufem-navier-stokes-periodic-channel-2d.py.
| tuple pressure_integral = solver.add_unsteady_solver('cf3.UFEM.SurfaceIntegral') |
Definition at line 104 of file atest-ufem-navier-stokes-periodic-channel-2d.py.
| int re_tau = 50 |
Definition at line 6 of file atest-ufem-navier-stokes-periodic-channel-2d.py.
| tuple right_patch = blocks.create_patch_nb_faces(name = 'right', nb_faces = 2) |
Definition at line 64 of file atest-ufem-navier-stokes-periodic-channel-2d.py.
| tuple root = cf.Core.root() |
Definition at line 12 of file atest-ufem-navier-stokes-periodic-channel-2d.py.
| tuple solver = model.create_solver('cf3.UFEM.Solver') |
Definition at line 26 of file atest-ufem-navier-stokes-periodic-channel-2d.py.
| tuple time = model.create_time() |
Definition at line 140 of file atest-ufem-navier-stokes-periodic-channel-2d.py.
| tuple top_patch = blocks.create_patch_nb_faces(name = 'top', nb_faces = 1) |
Definition at line 61 of file atest-ufem-navier-stokes-periodic-channel-2d.py.
| list u_in = [0., 0.] |
Definition at line 85 of file atest-ufem-navier-stokes-periodic-channel-2d.py.
| u_max = 0 |
Definition at line 155 of file atest-ufem-navier-stokes-periodic-channel-2d.py.
Definition at line 9 of file atest-ufem-navier-stokes-periodic-channel-2d.py.
| tuple write_manager = solver.add_unsteady_solver('cf3.solver.actions.TimeSeriesWriter') |
Definition at line 133 of file atest-ufem-navier-stokes-periodic-channel-2d.py.
| tuple writer = write_manager.create_component('PVTUWriter', 'cf3.mesh.VTKXML.Writer') |
Definition at line 135 of file atest-ufem-navier-stokes-periodic-channel-2d.py.
1.8.9.1
|
Send comments to: COOLFluiD Web Admin |