|
[Sponsors] |
November 12, 2012, 14:04 |
dynamic mesh for multi-region problem
|
#1 |
Member
yijin Mao
Join Date: May 2010
Location: Columbia, MO
Posts: 64
Rep Power: 16 |
Hi Foamers,
I have a question on dynamic mesh for multi-region. Many examples in OpenFOAM demonstrated it's capability of dealing with body moving behavior in the computation domain. But there is only one computational domain. I'm thinking it is quite possible to model multi-computation domain with dynamic mesh technique for OpenFOAM, for example based on chtMultiRegionFoam solver. Such that the fields (velocity, temperature, etc.) in each domain can be obtained. As a test, I simply put this line to the solid region, const scalar scaleFactor(0.0); volPointInterpolation pInterp(mesh); pointField zeroPoints(mesh.points()); pointField newPoints ( zeroPoints + scaleFactor*pInterp.interpolate(U)().internalField () ); mesh.polyMesh::movePoints(newPoints); many error thrown out after one successful iteration. Any suggestions are highly appreciated! ==================== ERROR ====================== #0 Foam::error:rintStack(Foam::Ostream&) in "/share/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #1 Foam::sigFpe::sigHandler(int) in "/share/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #2 in "/lib/x86_64-linux-gnu/libc.so.6" #3 Foam::fv::gaussGrad<double>::gradf(Foam::Geometric Field<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::word const&) in "/share/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libfiniteVolume.so" #4 Foam::fv::gaussGrad<double>::calcGrad(Foam::Geomet ricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::word const&) const in "/share/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libfiniteVolume.so" #5 Foam::fv::gradScheme<double>::grad(Foam::Geometric Field<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::word const&) const in "/share/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libcompressibleRASModels.so" #6 Foam::fv::correctedSnGrad<double>::fullGradCorrect ion(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) const in "/share/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libfiniteVolume.so" #7 Foam::fv::correctedSnGrad<double>::correction(Foam ::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) const in "/share/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libfiniteVolume.so" #8 Foam::fv::limitedSnGrad<double>::correction(Foam:: GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) const in "/share/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libfiniteVolume.so" #9 Foam::fv::gaussLaplacianScheme<double, double>::fvmLaplacian(Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/share/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libfiniteVolume.so" #10 Foam::fv::laplacianScheme<double, double>::fvmLaplacian(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/share/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libfiniteVolume.so" #11 Foam::tmp<Foam::fvMatrix<double> > Foam::fvm::laplacian<double, double>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::word const&) in "/share/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/bin/chtMultiRegionDyMeshFoam" #12 Foam::tmp<Foam::fvMatrix<double> > Foam::fvm::laplacian<double, double>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/share/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/bin/chtMultiRegionDyMeshFoam" #13 in "/share/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/bin/chtMultiRegionDyMeshFoam" #14 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #15 in "/share/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/bin/chtMultiRegionDyMeshFoam" Floating point exception (core dumped) |
|
February 2, 2014, 22:08 |
what was the outcome?
|
#2 |
Member
Eric Bryant
Join Date: Sep 2013
Location: Texas
Posts: 44
Rep Power: 13 |
Hi Yijin -
I face a problem similar to this - when attempting to use different dynamic mesh libraries for coupled solid and fluid regions. Did you ever get close to an answer on this issue? Best, Eric |
|
February 17, 2014, 00:43 |
|
#3 | |
Member
yijin Mao
Join Date: May 2010
Location: Columbia, MO
Posts: 64
Rep Power: 16 |
Quote:
HI Eric: what is your problem now? Let's see what I known can help you. |
||
October 22, 2015, 06:00 |
|
#4 |
Senior Member
|
Dear Yijin,
Have you been able to simulate multi region mesh motion in OF? I am facing the same problem.
__________________
Learn OpenFOAM in Persian SFO (StarCCM+ FLUENT OpenFOAM) Project Team Member Complex Heat & Flow Simulation Research Group If you can't explain it simply, you don't understand it well enough. "Richard Feynman" |
|
October 22, 2015, 20:43 |
|
#5 |
Member
yijin Mao
Join Date: May 2010
Location: Columbia, MO
Posts: 64
Rep Power: 16 |
Yes. I did. You can email to ymao.mu@gmail.com for detail.
|
|
August 25, 2017, 14:13 |
|
#6 |
Member
Join Date: Nov 2014
Posts: 36
Rep Power: 12 |
Hi,
Could you please post solution to the question of dynamic mesh in multi region cases? I am currently also working on this problem. Thank you |
|
June 5, 2023, 20:13 |
|
#7 |
Senior Member
Desh
Join Date: Mar 2021
Location: Sydney
Posts: 118
Rep Power: 5 |
Hi all,
Would anyone be able to post a solution for this, would highly appreciate. Thanks, Dasith |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] engineFoam new mesh problem | ayhan515 | OpenFOAM Meshing & Mesh Conversion | 5 | August 10, 2015 09:45 |
[ICEM] Problem making structural mesh on a surface | froztbear | ANSYS Meshing & Geometry | 1 | November 10, 2011 09:52 |
[mesh manipulation] Dynamic Mesh Diffusivity Problem | dancfd | OpenFOAM Meshing & Mesh Conversion | 0 | August 29, 2010 12:50 |
[snappyHexMesh] external flow with snappyHexMesh | chelvistero | OpenFOAM Meshing & Mesh Conversion | 11 | January 15, 2010 20:43 |
CFD-3D flow problem using Dynamic mesh method. | Sar_mech | FLUENT | 1 | November 27, 2008 22:17 |