MaMiCo 1.2
Loading...
Searching...
No Matches
coupling::configurations::CouetteConfig Struct Reference

Configuration parameters for Couette flow scenario. More...

#include <CouetteConfiguration.h>

Collaboration diagram for coupling::configurations::CouetteConfig:

Public Types

enum  MacroSolverType { COUETTE_ANALYTICAL = 0 , COUETTE_LB = 1 , COUETTE_FD = 2 , COUETTE_FOAM = 3 }
 
enum  MicroSolverType { SIMPLEMD = 0 , SYNTHETIC = 1 , LS1 = 2 }
 

Static Public Member Functions

static CouetteConfig parseCouetteConfiguration (const std::string &filename)
 creates CouetteConfig if all elements exist and can be read
 

Public Attributes

double channelheight
 channel is always expected to have origin at (0.0,0.0,0.0) and to be cubic (MD 30: 50.0, MD 60: 100.0, MD 120: 200.0)
 
tarch::la::Vector< 3, double > wallVelocity
 velocity of moving wall (lower boundary moves)
 
int wallInitCycles
 number of coupling cycles that will be done, while the wall velocity is the wallInitVelocity
 
tarch::la::Vector< 3, double > wallInitVelocity
 the velocity at the moving wall (z=0) while the wallInitCycles
 
double wallOscillations
 total number of oscillation periods of the oscillating wall velocity
 
int couplingCycles
 number of coupling cycles, that is continuum time steps; MD/DPD: 1000
 
bool md2Macro
 true if data will be send & received from the md to the continuum solver
 
bool macro2Md
 true if data will be send & received from the continuum to the md solver
 
bool computeSNR
 true if the signal to noise ratio shall be evaluated
 
bool twoWayCoupling
 true if from the md solver will be applied as boundary condition for the continuum solver
 
int filterInitCycles
 number of coupling cycles before a filter is applied
 
int csvEveryTimestep
 the time step interval for writing the md data to csv files
 
MacroSolverType maSolverType
 the type of continuum solver
 
MicroSolverType miSolverType
 the type of md solver
 
double density
 the general density of the fluid under consideration
 
double kinVisc
 the kinematic viscosity of the fluid under consideration
 
tarch::la::Vector< 3, unsigned int > lbNumberProcesses
 only for LB couette solver: number of processes
 
int plotEveryTimestep
 only for LB couette solver: VTK plotting per time step
 
int initAdvanceCycles
 number of cycles the continuum solver is advanced before the coupling is enabled
 
double temp
 the start temperature for the fluid under consideration
 
int equSteps
 number of equilibartion time steps = number of time steps that the md will run before the coupling is enabled
 
int totalNumberMDSimulations
 the number of md simulation instances in a multi-instance coupling, -1 = dynamic
 
int lowerBoundNumberMDSimulations
 the minimum number of md simulation instances in dynamic MD coupling
 
double absVelErrStart
 only for dynamic MD: target absolute velocity error at start of all coupling cycles
 
double absVelErrEnd
 only for dynamic MD: target absolute velocity error at end of all coupling cycles
 
double noiseSigma
 the sigma for the random noise in the case of synthetic md solver
 
bool twsLoop
 
int twsLoopMin
 
int twsLoopMax
 
int twsLoopStep
 

Detailed Description

Configuration parameters for Couette flow scenario.

Configuration parameters for Couette flow scenario

Author
Niklas Wittmer

Member Enumeration Documentation

◆ MacroSolverType

Defines the type of continuum solver for the coupled simulation

Enumerator
COUETTE_ANALYTICAL 

the analytical couette solver is used (coupling::solvers::CouetteSolver)

COUETTE_LB 

the Lattice-Bolzmann solver is used (coupling::solvers::LBCouetteSolver)

COUETTE_FD 

the 1d finite-difference solver is used (coupling::solvers::FiniteDifferenceSolver)

COUETTE_FOAM 

the IcoFoam solver is used (coupling::solvers::IcoFoam)

◆ MicroSolverType

Defines the type of md solver for the coupled simulation

Enumerator
SIMPLEMD 

the SimpleMD solver is used

SYNTHETIC 

the synthetic solver is used

LS1 

the LS1 solver is used

Member Function Documentation

◆ parseCouetteConfiguration()

static CouetteConfig coupling::configurations::CouetteConfig::parseCouetteConfiguration ( const std::string & filename)
inlinestatic

creates CouetteConfig if all elements exist and can be read

Parameters
filename

Member Data Documentation

◆ twsLoop

bool coupling::configurations::CouetteConfig::twsLoop
Todo
piet

◆ twsLoopMax

int coupling::configurations::CouetteConfig::twsLoopMax
Todo
piet

◆ twsLoopMin

int coupling::configurations::CouetteConfig::twsLoopMin
Todo
piet

◆ twsLoopStep

int coupling::configurations::CouetteConfig::twsLoopStep
Todo
piet

The documentation for this struct was generated from the following file: