COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Functions | Variables
utest-solver-actions-restart Namespace Reference

Functions

def copy_and_reset (source, domain)
 

Variables

tuple env = cf.Core.environment()
 
tuple root = cf.Core.root()
 
tuple domain = root.create_component('Domain', 'cf3.mesh.Domain')
 
tuple mesh = domain.create_component('OriginalMesh','cf3.mesh.Mesh')
 
tuple blocks = root.create_component('model', 'cf3.mesh.BlockMesh.BlockArrays')
 
tuple points = blocks.create_points(dimensions = 2, nb_points = 4)
 
tuple block_nodes = blocks.create_blocks(1)
 
tuple block_subdivs = blocks.create_block_subdivisions()
 
tuple gradings = blocks.create_block_gradings()
 
tuple link_horizontal = domain.create_component('LinkHorizontal', 'cf3.mesh.actions.LinkPeriodicNodes')
 
tuple make_par_data = root.create_component('MakeParData', 'cf3.solver.actions.ParallelDataToFields')
 
tuple time = domain.create_component('Time', 'cf3.solver.Time')
 
tuple restart_file = cf.URI('restart-test.cf3restart')
 
tuple writer = domain.create_component('Writer', 'cf3.solver.actions.WriteRestartFile')
 
tuple ref_node_gids = copy_and_reset(mesh.geometry.node_gids, domain)
 
tuple ref_element_gids = copy_and_reset(mesh.elems_P0.element_gids, domain)
 
tuple reader = domain.create_component('Reader', 'cf3.solver.actions.ReadRestartFile')
 
tuple differ = domain.create_component('Differ', 'cf3.common.ArrayDiff')
 

Function Documentation

def utest-solver-actions-restart.copy_and_reset (   source,
  domain 
)

Definition at line 4 of file utest-solver-actions-restart.py.

Variable Documentation

tuple block_nodes = blocks.create_blocks(1)

Definition at line 31 of file utest-solver-actions-restart.py.

tuple block_subdivs = blocks.create_block_subdivisions()

Definition at line 33 of file utest-solver-actions-restart.py.

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

Definition at line 25 of file utest-solver-actions-restart.py.

tuple differ = domain.create_component('Differ', 'cf3.common.ArrayDiff')

Definition at line 90 of file utest-solver-actions-restart.py.

tuple domain = root.create_component('Domain', 'cf3.mesh.Domain')

Definition at line 21 of file utest-solver-actions-restart.py.

tuple env = cf.Core.environment()

Definition at line 16 of file utest-solver-actions-restart.py.

tuple gradings = blocks.create_block_gradings()

Definition at line 35 of file utest-solver-actions-restart.py.

tuple link_horizontal = domain.create_component('LinkHorizontal', 'cf3.mesh.actions.LinkPeriodicNodes')

Definition at line 44 of file utest-solver-actions-restart.py.

tuple make_par_data = root.create_component('MakeParData', 'cf3.solver.actions.ParallelDataToFields')

Definition at line 51 of file utest-solver-actions-restart.py.

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

Definition at line 22 of file utest-solver-actions-restart.py.

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

Definition at line 26 of file utest-solver-actions-restart.py.

tuple reader = domain.create_component('Reader', 'cf3.solver.actions.ReadRestartFile')

Definition at line 77 of file utest-solver-actions-restart.py.

tuple ref_element_gids = copy_and_reset(mesh.elems_P0.element_gids, domain)

Definition at line 71 of file utest-solver-actions-restart.py.

tuple ref_node_gids = copy_and_reset(mesh.geometry.node_gids, domain)

Definition at line 70 of file utest-solver-actions-restart.py.

tuple restart_file = cf.URI('restart-test.cf3restart')

Definition at line 62 of file utest-solver-actions-restart.py.

tuple root = cf.Core.root()

Definition at line 20 of file utest-solver-actions-restart.py.

tuple time = domain.create_component('Time', 'cf3.solver.Time')

Definition at line 56 of file utest-solver-actions-restart.py.

tuple writer = domain.create_component('Writer', 'cf3.solver.actions.WriteRestartFile')

Definition at line 63 of file utest-solver-actions-restart.py.

Send comments to:
COOLFluiD Web Admin