- implemented as lazy evaluation with an additional update() method. This avoids unnecessary changes until the values are actually required. - apply mesh motion changes for momentum, volFieldValue, specieReactionRates function objects
34 lines
612 B
C++
34 lines
612 B
C++
// -*- C++ -*-
|
|
// Calculate momentum fields
|
|
momentum
|
|
{
|
|
type momentum;
|
|
libs ("libfieldFunctionObjects.so");
|
|
log true;
|
|
|
|
writeControl writeTime;
|
|
// executeInterval 10;
|
|
|
|
// writeToFile true;
|
|
|
|
writeMomentum true;
|
|
writePosition true;
|
|
writeVelocity true;
|
|
|
|
// Cells to select (all/cellSet/cellZone)
|
|
regionType all;
|
|
// name c0;
|
|
|
|
cylindrical false;
|
|
|
|
origin (0 0 0);
|
|
rotation
|
|
{
|
|
type cylindrical;
|
|
axis (1 0 0); //< local Z
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|