Go to the source code of this file.
|
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) |
|