COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Functions | Variables
atest-ufem-particles-taylor-green-polydisperse Namespace Reference

Functions

def create_mesh (domain, segments)
 

Variables

tuple env = cf.Core.environment()
 
int nu = 1
 
int segs = 32
 
float D = 0.5
 
int Vs = 1
 
int Ua = 0
 
int Va = 0
 
float tau = 0.25
 
int beta = 3
 
float dt = 0.1
 
int numsteps = 1
 
int write_interval = 5
 
tuple model = cf.Core.root()
 
tuple domain = model.create_domain()
 
tuple physics = model.create_physics('cf3.UFEM.NavierStokesPhysics')
 
tuple solver = model.create_solver('cf3.UFEM.Solver')
 
tuple tg_solver = solver.add_unsteady_solver('cf3.UFEM.particles.TaylorGreen')
 
tuple polydisp = solver.add_unsteady_solver('cf3.UFEM.particles.Polydisperse')
 
tuple mesh = create_mesh(domain, segs)
 
tuple series_writer = solver.TimeLoop.create_component('TimeWriter', 'cf3.solver.actions.TimeSeriesWriter')
 
tuple writer = series_writer.create_component('Writer', 'cf3.mesh.VTKXML.Writer')
 
tuple time = model.create_time()
 

Function Documentation

def atest-ufem-particles-taylor-green-polydisperse.create_mesh (   domain,
  segments 
)

Variable Documentation

int beta = 3
float D = 0.5
tuple domain = model.create_domain()
float dt = 0.1
tuple env = cf.Core.environment()
tuple mesh = create_mesh(domain, segs)
tuple model = cf.Core.root()
int nu = 1
int numsteps = 1
tuple physics = model.create_physics('cf3.UFEM.NavierStokesPhysics')
tuple polydisp = solver.add_unsteady_solver('cf3.UFEM.particles.Polydisperse')
int segs = 32
tuple series_writer = solver.TimeLoop.create_component('TimeWriter', 'cf3.solver.actions.TimeSeriesWriter')
tuple solver = model.create_solver('cf3.UFEM.Solver')
float tau = 0.25
tuple tg_solver = solver.add_unsteady_solver('cf3.UFEM.particles.TaylorGreen')
tuple time = model.create_time()
int Ua = 0
int Va = 0
int Vs = 1
int write_interval = 5
tuple writer = series_writer.create_component('Writer', 'cf3.mesh.VTKXML.Writer')
Send comments to:
COOLFluiD Web Admin