CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   dynamicMesh for several patches (https://www.cfd-online.com/Forums/openfoam-solving/238598-dynamicmesh-several-patches.html)

Reptider September 22, 2021 06:30

dynamicMesh for several patches
 
Hello!
There are used several patches constructed by createPatch from necessary faceSets. I use dynamicMeshDict for one certain patch (movingWall_POCO) that will be changed.
boundary file:
Code:

/*--------------------------------*- C++ -*----------------------------------*\
| =========                |                                                |
| \\      /  F ield        | OpenFOAM: The Open Source CFD Toolbox          |
|  \\    /  O peration    | Version:  v1912                                |
|  \\  /    A nd          | Website:  www.openfoam.com                      |
|    \\/    M anipulation  |                                                |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version    2.0;
    format      ascii;
    class      polyBoundaryMesh;
    location    "constant/polyMesh";
    object      boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

4
(
    movingWall_AETB
    {
        type            wall;
        inGroups        1(wall);
        nFaces          129969;
        startFace      6430814;
    }
    movingWall_TUFROC
    {
        type            wall;
        inGroups        1(wall);
        nFaces          13899;
        startFace      6560783;
    }
    movingWall_POCO
    {
        type            wall;
        inGroups        1(wall);
        nFaces          12870;
        startFace      6574682;
    }
    space_AETB
    {
        type            wall;
        inGroups        1(wall);
        nFaces          36998;
        startFace      6587552;
    }
)

// ************************************************************************* //

dynamicMeshDict file:
Code:

/*--------------------------------*- C++ -*----------------------------------*\
| =========                |                                                |
| \      /  F ield        | OpenFOAM: The Open Source CFD Toolbox          |
|  \    /  O peration    | Version:  v1912                                |
|  \  /    A nd          | Web:      www.OpenFOAM.com                      |
|    \/    M anipulation  |                                                |
\*---------------------------------------------------------------------------*/
FoamFile
{
        version        2.0;
        format                ascii;
        class                dictionary;
        location        "constant";
        object                dynamicMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dynamicFvMesh                dynamicMotionSolverFvMesh;

motionSolverLibs        ( "libfvMotionSolvers.so" );

solver                        displacementLaplacian;

displacementLaplacianCoeffs
{
        diffusivity quadratic inversePointDistance (movingWall_POCO);
}

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

When I run my own solver I get next error:

Code:

Selecting dynamicFvMesh dynamicMotionSolverFvMesh
Selecting motion solver: displacementLaplacian
Applying solid body motion to entire mesh
Selecting motion diffusion: quadratic
Selecting motion diffusion: inversePointDistance
#0  Foam::error::printStack(Foam::Ostream&) at ??:?
#1  Foam::sigFpe::sigHandler(int) at ??:?
#2  ? in /lib/x86_64-linux-gnu/libc.so.6
#3  Foam::inversePointDistanceDiffusivity::correct() at ??:?
#4  Foam::inversePointDistanceDiffusivity::inversePointDistanceDiffusivity(Foam::fvMesh const&, Foam::Istream&) at ??:?
#5  Foam::motionDiffusivity::addIstreamConstructorToTable<Foam::inversePointDistanceDiffusivity>::New(Foam::fvMesh const&, Foam::Istream&) at ??:?
#6  Foam::motionDiffusivity::New(Foam::fvMesh const&, Foam::Istream&) at ??:?
#7  Foam::quadraticDiffusivity::quadraticDiffusivity(Foam::fvMesh const&, Foam::Istream&) at ??:?
#8  Foam::motionDiffusivity::addIstreamConstructorToTable<Foam::quadraticDiffusivity>::New(Foam::fvMesh const&, Foam::Istream&) at ??:?
#9  Foam::motionDiffusivity::New(Foam::fvMesh const&, Foam::Istream&) at ??:?
#10  Foam::displacementLaplacianFvMotionSolver::displacementLaplacianFvMotionSolver(Foam::polyMesh const&, Foam::IOdictionary const&) at ??:?
#11  Foam::motionSolver::adddictionaryConstructorToTable<Foam::displacementLaplacianFvMotionSolver>::New(Foam::polyMesh const&, Foam::IOdictionary const&) at ??:?
#12  Foam::motionSolver::New(Foam::polyMesh const&, Foam::IOdictionary const&) at ??:?
#13  Foam::motionSolver::New(Foam::polyMesh const&) at ??:?
#14  Foam::dynamicMotionSolverFvMesh::dynamicMotionSolverFvMesh(Foam::IOobject const&) at ??:?
#15  Foam::dynamicFvMesh::addIOobjectConstructorToTable<Foam::dynamicMotionSolverFvMesh>::New(Foam::IOobject const&) at ??:?
#16  Foam::dynamicFvMesh::New(Foam::IOobject const&) at ??:?
...
...
...
Floating point exception (core dumped)

Where is the problem located?
Thanks by advance.


All times are GMT -4. The time now is 21:53.