|
[Sponsors] |
The number of points in the mesh seems to have changed |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 29, 2018, 22:55 |
The number of points in the mesh seems to have changed
|
#1 |
New Member
Motiur Rahman
Join Date: Jul 2018
Posts: 3
Rep Power: 8 |
I run a case which have dynamic motion and AMR. I merged two libraries (motion lib and refinement llib) in Foam Extend 3.0. My case is stopped at 2nd iteration. After looking into the run file, it seems that both motion and refinement works. I got a error like -
" --> FOAM FATAL ERROR: The number of points in the mesh seems to have changed. In constant/polyMesh there are 402132 points; in the current mesh there are 497416 points. From function sixDoFRigidBodyMotionSolver::curPoints() const in file sixDoFRigidBodyMotionSolver/sixDoFRigidBodyMotionSolver.C at line 177. FOAM exiting' I think, the error comes due to mesh refinement. After each refinement it didn't overwrite the polyMesh file. My question is, how can I overwrite polyMesh file in each iteration? If I need to recompile sixDoFRigidBodyMotionSolver.C , How I need to edit it? FoamFile { version 2.0; format ascii; class dictionary; object dynamicMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dynamicFvMesh dynamicMotionSolverRefineFvMesh; motionSolverLibs ("libsixDoFRigidBodyMotion.so"); solver sixDoFRigidBodyMotion; sixDoFRigidBodyMotionCoeffs { patches (obstacle); innerDistance 1.1; outerDistance 1.3; centreOfMass (0 0 0); mass 2091.88; momentOfInertia (1673.5 1673.5 1673.5); rhoInf 1; report on; value uniform (0 0 0); accelerationRelaxation 0.4; solver { type Newmark; } constraints { zAxis { sixDoFRigidBodyMotionConstraint line; direction (0 0 1); } yPlane { sixDoFRigidBodyMotionConstraint axis; axis (0 1 0); } } restraints { translationDamper { sixDoFRigidBodyMotionRestraint linearDamper; coeff 8596; } rotationDamper { sixDoFRigidBodyMotionRestraint sphericalAngularDamper; coeff 11586; } } } dynamicMotionSolverRefineFvMeshCoeffs { // How often to refine refineInterval 1; // Field to be refinement on field alpha.water; // Refine field inbetween lower..upper lowerRefineLevel 0.01; upperRefineLevel 0.99; // If value < unrefineLevel unrefine unrefineLevel 10; // Have slower than 2:1 refinement nBufferLayers 1; // Refine cells only up to maxRefinement levels maxRefinement 2; // Stop refinement if maxCells reached maxCells 35000000; correctFluxes ( (rhoPhi none) (nHatf none) (alphaPhi none) (ghf none) (phi U) (phi_0 U_0) (rhorUf phi) (faceDiffusivity none) (meshPhi none) (weights none) ); dumpLevel true; } |
|
September 26, 2021, 04:11 |
Reply to Motiur
|
#2 |
New Member
Trey
Join Date: Sep 2021
Posts: 1
Rep Power: 0 |
Hi, Motiur. Have you solved this problem? I have a similar problem recently.
If you can offer some pointers, I will be very grateful. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops | avinashjagdale | OpenFOAM Meshing & Mesh Conversion | 53 | March 8, 2019 10:42 |
[snappyHexMesh] SnappyHexMesh for internal Flow | vishwa | OpenFOAM Meshing & Mesh Conversion | 24 | June 27, 2016 09:54 |
Cluster ID's not contiguous in compute-nodes domain. ??? | Shogan | FLUENT | 1 | May 28, 2014 16:03 |
[snappyHexMesh] Layers:problem with curvature | giulio.topazio | OpenFOAM Meshing & Mesh Conversion | 10 | August 22, 2012 10:03 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |