Lagrangian is now compatible with the meshToMesh topology changer. If a cloud is being simulated and this topology changer is active, then the cloud data will be automatically mapped between the specified sequence of meshes in the same way as the finite volume data. This works both for serial and parallel simulations. In addition, mapFieldsPar now also supports mapping of Lagrangian data when run in parallel.
47 lines
1.1 KiB
C++
47 lines
1.1 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 volScalarField;
|
|
location "0";
|
|
object rho;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dimensions [1 -3 0 0 0 0 0];
|
|
|
|
internalField uniform 1.2;
|
|
|
|
boundaryField
|
|
{
|
|
walls
|
|
{
|
|
type calculated;
|
|
value uniform 1.2;
|
|
}
|
|
frontAndBack
|
|
{
|
|
type calculated;
|
|
value uniform 1.2;
|
|
}
|
|
inlet
|
|
{
|
|
type calculated;
|
|
value uniform 1.2;
|
|
}
|
|
outlet
|
|
{
|
|
type calculated;
|
|
value uniform 1.2;
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|