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

Variables

int Uc = 3
 
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 periodic_partitioner = domain.create_component('Partitioner', 'cf3.mesh.actions.PeriodicMeshPartitioner')
 
tuple link_horizontal = periodic_partitioner.create_link_periodic_nodes()
 
tuple link_vertical = periodic_partitioner.create_link_periodic_nodes()
 
tuple velocity = mesh.geometry.create_field(name = 'velocity', variables='Velocity[vector]')
 
list y = mesh.geometry.coordinates[i]
 
tuple randomizer = domain.create_component('Randomizer', 'cf3.solver.actions.RandomizeField')
 
tuple writer = domain.create_component('PVWriter', 'cf3.mesh.VTKXML.Writer')
 

Variable Documentation

tuple block_nodes = blocks.create_blocks(1)

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

tuple block_subdivs = blocks.create_block_subdivisions()

Definition at line 24 of file utest-solver-actions-randomize.py.

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

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

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

Definition at line 13 of file utest-solver-actions-randomize.py.

tuple env = cf.Core.environment()

Definition at line 8 of file utest-solver-actions-randomize.py.

tuple gradings = blocks.create_block_gradings()

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

tuple link_horizontal = periodic_partitioner.create_link_periodic_nodes()

Definition at line 39 of file utest-solver-actions-randomize.py.

tuple link_vertical = periodic_partitioner.create_link_periodic_nodes()

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

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

Definition at line 14 of file utest-solver-actions-randomize.py.

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

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

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

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

tuple randomizer = domain.create_component('Randomizer', 'cf3.solver.actions.RandomizeField')

Definition at line 60 of file utest-solver-actions-randomize.py.

tuple root = cf.Core.root()

Definition at line 12 of file utest-solver-actions-randomize.py.

int Uc = 3

Definition at line 6 of file utest-solver-actions-randomize.py.

tuple velocity = mesh.geometry.create_field(name = 'velocity', variables='Velocity[vector]')

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

tuple writer = domain.create_component('PVWriter', 'cf3.mesh.VTKXML.Writer')

Definition at line 69 of file utest-solver-actions-randomize.py.

list y = mesh.geometry.coordinates[i]

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

Send comments to:
COOLFluiD Web Admin