|
[Sponsors] |
May 7, 2015, 10:58 |
dynamic mesh fails in parallel executation
|
#1 |
Member
Hao Chen
Join Date: Aug 2014
Posts: 66
Rep Power: 0 |
Dear Foamers:
I use dynamic mesh to simulate flow around oscillating cylinders in foam extend 3.1. The dynamic mesh simply update the displacement of the cylinder and call the fvMotionSolver. It works fine in serial case, but for parallel execution, the mesh is moving in a strange way in between the processor boundary. I attached the figures below. The location where the unphysical moving mesh occurs is just in between the domains for processors. I am not sure this is due to the problem of my custom dynamic mesh class (although I do not think so) or other OpenFoam problems? Best regards Hao Chen |
|
May 7, 2015, 14:14 |
|
#2 |
Member
Hao Chen
Join Date: Aug 2014
Posts: 66
Rep Power: 0 |
Hi again,,,
For some other cases, I found that the mesh in the processor boundary does not move at all. In the figure below, I impose a rigid body motion on the cylinder and also the mesh near the cylinder. The rest is moving with fvDisplacementLaplacian. However, the point in the boundary does not move at all. Any suggestions and comments are welcome. |
|
October 22, 2015, 06:01 |
|
#3 |
Member
YS
Join Date: Jan 2010
Posts: 96
Rep Power: 16 |
I am having the same problem in running interDyMFoam using multiple CPUs. It even crashes when you run the accompanied floatingObject tutorial case in parallel. Have you identified the source of this problem? Thanks.
|
|
January 27, 2016, 08:35 |
|
#4 |
New Member
hayder
Join Date: Dec 2013
Posts: 3
Rep Power: 12 |
I am having the same problem in running fluent with dynamic mesh using parallel mode . Have you identified the source of this problem?
If Yes could you please send me some tips. Thanks in advance. |
|
March 15, 2016, 01:06 |
|
#5 |
Member
YS
Join Date: Jan 2010
Posts: 96
Rep Power: 16 |
I'd like to know if anyone else is having this problem? Or is there a solution to it?
|
|
March 16, 2016, 02:30 |
|
#6 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
Please use tet FEM automatic mesh motion solvers and all will be well.
Hrvoje
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
March 16, 2016, 04:47 |
|
#7 |
Member
Hao Chen
Join Date: Aug 2014
Posts: 66
Rep Power: 0 |
Yes I think FEM is much robuster than FVM for foam extend versions. Otherwise if you still want to use FVM dynamic mesh, you'd better change to openfoam official versions.
Best Hao |
|
March 16, 2016, 22:50 |
|
#8 |
Member
YS
Join Date: Jan 2010
Posts: 96
Rep Power: 16 |
The reason why I tried to switch to fvMotionSolver is that I'd like to compare the BiCGStab to GAMG, as sometimes the former is struggling in 3D cases, even 100+ subiterations are not enough for it to reach convergence.
|
|
March 31, 2017, 04:37 |
|
#9 |
Member
|
Dear Jasak
I try to make parallization for the dynamic mesh problem by using the solver pimpleDyMFoam. The orginal case 'movingCone' works well under parallization process. But if " dynamicFvMesh dynamicMotionSolverFvMesh; motionSolverLibs ( "libfvMotionSolvers.so" ); solver velocityComponentLaplacian; velocityComponentLaplacianCoeffs { component x; diffusivity directional ( 1 200 0 ); } " in the file 'dynamicMeshDict' is simplely changed as " dynamicFvMesh movingConeTopoFvMesh; motionSolverLibs ( "libfvMotionSolvers.so" ); movingConeTopoFvMeshCoeffs { motionVelAmplitude (1.5 0.0 0.0); motionVelPeriod 0.003; leftEdge 0.0; leftObstacleEdge 0.0; rightObstacleEdge 0.0; right { minThickness 3e-5; maxThickness 6e-5; } left { minThickness 3e-5; maxThickness 5e-5; } } ", which means the mesh has topological changes, the parallization doesn't work any more. (it works fine with single processor).Of2.4.0 is used. If you could give me some suggestions? Best regards. |
|
March 31, 2017, 04:44 |
|
#10 |
Member
|
Dear Jasak,
I try to make parallization for the dynamic mesh problem by using the solver pimpleDyMFoam. The orginal case 'movingCone' works well under parallization process. But if /////////////////////////////////////////////////// dynamicFvMesh dynamicMotionSolverFvMesh; motionSolverLibs ( "libfvMotionSolvers.so" ); solver velocityComponentLaplacian; velocityComponentLaplacianCoeffs { component x; diffusivity directional ( 1 200 0 ); } /////////////////////////////////////////////////// in the file 'dynamicMeshDict' is simplely changed as /////////////////////////////////////////////////// dynamicFvMesh movingConeTopoFvMesh; motionSolverLibs ( "libfvMotionSolvers.so" ); movingConeTopoFvMeshCoeffs { motionVelAmplitude (1.5 0.0 0.0); motionVelPeriod 0.003; leftEdge 0.0; leftObstacleEdge 0.0; rightObstacleEdge 0.0; right { minThickness 3e-5; maxThickness 6e-5; } left { minThickness 3e-5; maxThickness 5e-5; } } /////////////////////////////////////////////////// , which means the mesh has topological changes, the parallization doesn't work any more. (it works fine with single processor). And Of2.4.0 is used. I think the problem is similar. If you could give me some suggestions? Best regards, |
|
September 26, 2017, 13:22 |
Problem solved in FE 4.0
|
#11 | |
New Member
Ali Aghaei
Join Date: Oct 2014
Posts: 12
Rep Power: 12 |
Quote:
Cheers. |
||
June 14, 2018, 01:30 |
|
#12 | |
Member
Join Date: Jan 2018
Location: Malaysia
Posts: 58
Rep Power: 8 |
Quote:
Sincerely, Jia Hui |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to set periodic boundary conditions | Ganesh | FLUENT | 15 | November 18, 2020 07:09 |
Dynamic Mesh on Pintle type injector. | herntan | FLUENT | 16 | September 4, 2020 09:27 |
[snappyHexMesh] No layers in a small gap | bobburnquist | OpenFOAM Meshing & Mesh Conversion | 6 | August 26, 2015 10:38 |
[Other] dynamic Mesh with angular velocity not parallel to x axis | donQi | OpenFOAM Meshing & Mesh Conversion | 5 | October 3, 2014 00:19 |
InterDyMFoam dynamic meshing in parallel fails under nonquiescent conditions | adona058 | OpenFOAM Bugs | 7 | November 18, 2008 15:58 |