COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Functions | Variables
utest-solver-actions-timeseries 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 time = domain.create_component('Time', 'cf3.solver.Time')
 
tuple series_writer = domain.create_component('SeriesWriter', 'cf3.solver.actions.TimeSeriesWriter')
 
tuple writer = series_writer.create_component('Writer', 'cf3.mesh.cf3mesh.Writer')
 
string file_template = 'timeseries-{iteration}-{time}.cf3mesh'
 
tuple advance_time = domain.create_component('AdvanceTime', 'cf3.solver.actions.AdvanceTime')
 
tuple reader = domain.create_component('Reader', 'cf3.mesh.cf3mesh.Reader')
 
tuple meshdiff = domain.create_component('MeshDiff', 'cf3.mesh.actions.MeshDiff')
 
tuple filename = file_template.format(time = float(i)*time.time_step, iteration = i)
 

Function Documentation

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

Definition at line 5 of file utest-solver-actions-timeseries.py.

Variable Documentation

tuple advance_time = domain.create_component('AdvanceTime', 'cf3.solver.actions.AdvanceTime')

Definition at line 57 of file utest-solver-actions-timeseries.py.

tuple block_nodes = blocks.create_blocks(1)

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

tuple block_subdivs = blocks.create_block_subdivisions()

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

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

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

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

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

tuple env = cf.Core.environment()

Definition at line 17 of file utest-solver-actions-timeseries.py.

string file_template = 'timeseries-{iteration}-{time}.cf3mesh'

Definition at line 53 of file utest-solver-actions-timeseries.py.

tuple filename = file_template.format(time = float(i)*time.time_step, iteration = i)

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

tuple gradings = blocks.create_block_gradings()

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

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

Definition at line 23 of file utest-solver-actions-timeseries.py.

tuple meshdiff = domain.create_component('MeshDiff', 'cf3.mesh.actions.MeshDiff')

Definition at line 67 of file utest-solver-actions-timeseries.py.

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

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

tuple reader = domain.create_component('Reader', 'cf3.mesh.cf3mesh.Reader')

Definition at line 66 of file utest-solver-actions-timeseries.py.

tuple root = cf.Core.root()

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

tuple series_writer = domain.create_component('SeriesWriter', 'cf3.solver.actions.TimeSeriesWriter')

Definition at line 48 of file utest-solver-actions-timeseries.py.

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

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

tuple writer = series_writer.create_component('Writer', 'cf3.mesh.cf3mesh.Writer')

Definition at line 52 of file utest-solver-actions-timeseries.py.

Send comments to:
COOLFluiD Web Admin