COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Namespaces | Variables
utest-solver-actions-turbulence-statistics.py File Reference

Go to the source code of this file.

Namespaces

 utest-solver-actions-turbulence-statistics
 

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 velocity = mesh.geometry.create_field(name = 'velocity', variables='Velocity[vector]')
 
tuple pressure = mesh.geometry.create_field(name = 'pressure', variables='Pressure')
 
tuple init_field = domain.create_component('InitField', 'cf3.mesh.actions.InitFieldFunction')
 
tuple randomizer = domain.create_component('Randomizer', 'cf3.solver.actions.RandomizeField')
 
tuple stats = domain.create_component('Statistics', 'cf3.solver.actions.TurbulenceStatistics')
 
tuple avg = domain.create_component('Average', 'cf3.solver.actions.FieldTimeAverage')
 
tuple dir_avg = domain.create_component('DirectionalAverage', 'cf3.solver.actions.DirectionalAverage')
 
tuple writer = domain.create_component('PVWriter', 'cf3.mesh.VTKXML.Writer')
 
Send comments to:
COOLFluiD Web Admin