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

dynamic mesh for multi-region problem

Register Blogs Community New Posts Updated Threads Search

Like Tree8Likes
  • 2 Post By alundilong
  • 2 Post By Mojtaba.a
  • 1 Post By alundilong
  • 3 Post By Tscar

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 12, 2012, 14:04
Default dynamic mesh for multi-region problem
  #1
Member
 
yijin Mao
Join Date: May 2010
Location: Columbia, MO
Posts: 64
Rep Power: 16
alundilong is on a distinguished road
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)
deepinheart and atulkjoy like this.
alundilong is offline   Reply With Quote

Old   February 2, 2014, 22:08
Default what was the outcome?
  #2
Member
 
Eric Bryant
Join Date: Sep 2013
Location: Texas
Posts: 44
Rep Power: 13
codder is on a distinguished road
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
codder is offline   Reply With Quote

Old   February 17, 2014, 00:43
Default
  #3
Member
 
yijin Mao
Join Date: May 2010
Location: Columbia, MO
Posts: 64
Rep Power: 16
alundilong is on a distinguished road
Quote:
Originally Posted by codder View Post
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

HI Eric:

what is your problem now?
Let's see what I known can help you.
alundilong is offline   Reply With Quote

Old   October 22, 2015, 06:00
Default
  #4
Senior Member
 
Mojtaba.a's Avatar
 
Mojtaba Amiraslanpour
Join Date: Jun 2011
Location: Tampa, US
Posts: 308
Rep Power: 16
Mojtaba.a is on a distinguished road
Send a message via Skype™ to Mojtaba.a
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"
Mojtaba.a is offline   Reply With Quote

Old   October 22, 2015, 20:43
Default
  #5
Member
 
yijin Mao
Join Date: May 2010
Location: Columbia, MO
Posts: 64
Rep Power: 16
alundilong is on a distinguished road
Yes. I did. You can email to ymao.mu@gmail.com for detail.
atulkjoy likes this.
alundilong is offline   Reply With Quote

Old   August 25, 2017, 14:13
Default
  #6
Member
 
Join Date: Nov 2014
Posts: 36
Rep Power: 12
Tscar is on a distinguished road
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
Tscar is offline   Reply With Quote

Old   June 5, 2023, 20:13
Default
  #7
Senior Member
 
Desh
Join Date: Mar 2021
Location: Sydney
Posts: 118
Rep Power: 5
dasith0001 is on a distinguished road
Hi all,

Would anyone be able to post a solution for this, would highly appreciate.

Thanks,
Dasith
dasith0001 is offline   Reply With Quote

Reply


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
[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


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