mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop
This commit is contained in:
@ -48,6 +48,7 @@ runTimeModifiable true;
|
||||
functions
|
||||
{
|
||||
#include "coordinateTransform"
|
||||
#include "momentum"
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,33 @@
|
||||
// -*- C++ -*-
|
||||
// Calculate momentum fields
|
||||
momentum
|
||||
{
|
||||
type momentum;
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
log true;
|
||||
|
||||
executeInterval 10;
|
||||
writeControl writeTime;
|
||||
|
||||
// writeToFile true;
|
||||
|
||||
writeMomentum true;
|
||||
writePosition true;
|
||||
writeVelocity true;
|
||||
|
||||
// Cells to select (all/cellSet/cellZone)
|
||||
regionType all;
|
||||
// name c0;
|
||||
|
||||
cylindrical true;
|
||||
|
||||
origin (0 0 0);
|
||||
rotation
|
||||
{
|
||||
type cylindrical;
|
||||
axis (1 0 0); //< local Z
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
Reference in New Issue
Block a user