CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

dynamicMesh for several patches

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 22, 2021, 07:30
Default dynamicMesh for several patches
  #1
New Member
 
Join Date: Sep 2020
Posts: 28
Rep Power: 5
Reptider is on a distinguished road
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.
Reptider is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem using AMI vinz OpenFOAM Running, Solving & CFD 298 November 13, 2023 09:19
Foam::error::PrintStack almir OpenFOAM Running, Solving & CFD 91 December 21, 2022 05:50
[snappyHexMesh] snappyHexMesh error "Cannot determine normal vector from patches." lethu OpenFOAM Meshing & Mesh Conversion 1 June 3, 2020 08:49
Possible bug with stitchMesh and cyclics in OpenFoam Jack001 OpenFOAM Pre-Processing 0 May 21, 2016 09:00
Cyclic boundaries in OF 21x morard OpenFOAM 25 May 13, 2013 23:35


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