Files
OpenFOAM-12/tutorials/incompressibleVoF/floatingObjectWaves/constant/fvModels
Henry Weller d61ea84ebb Updated rpm entries to omega with an [rpm] unit specification
This is a more convenient, consistent and flexible approach to specifying
rotational speed.
2024-06-27 17:38:22 +01:00

57 lines
1.2 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: dev
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
format ascii;
class dictionary;
location "constant";
object fvModels;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
forcing
{
type waveForcing;
libs ("libwaves.so");
liquidPhase water;
origins
(
(0 0.75 0.5)
(0 0.25 0.5)
(0.25 0 0.5)
(0.75 0 0.5)
);
directions
(
( 0 1 0)
( 0 -1 0)
(-1 0 0)
( 1 0 0)
);
scale
{
type halfCosineRamp;
start 0;
duration 0.5;
}
lambdaCoeff 5;
lambdaBoundaryCoeff 10;
// Write the forcing fields: forcing:scale, forcing:forceCoeff
writeForceFields true;
}
// ************************************************************************* //