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

Go to the source code of this file.

Namespaces

 atest-ufem-particles-taylor-green-polydisperse
 

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()
 
Send comments to:
COOLFluiD Web Admin