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

dynamic mesh for multi-region problem

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

Like Tree1Likes
  • 1 Post By alundilong

Reply
 
LinkBack Thread Tools 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: 48
Rep Power: 8
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 likes 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: 5
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: 48
Rep Power: 8
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, 05:00
Default
  #4
Senior Member
 
Mojtaba.a's Avatar
 
Mojtaba Amiraslanpour
Join Date: Jun 2011
Location: Zanjan, Iran
Posts: 287
Rep Power: 8
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 for free, And ask your questions here.
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, 19:43
Default
  #5
Member
 
yijin Mao
Join Date: May 2010
Location: Columbia, MO
Posts: 48
Rep Power: 8
alundilong is on a distinguished road
Yes. I did. You can email to ymao.mu@gmail.com for detail.
alundilong is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
engineFoam new mesh problem ayhan515 OpenFOAM Meshing & Mesh Conversion 5 August 10, 2015 08:45
[ICEM] Problem making structural mesh on a surface froztbear ANSYS Meshing & Geometry 1 November 10, 2011 09:52
Dynamic Mesh Diffusivity Problem dancfd OpenFOAM Native Meshers: blockMesh 0 August 29, 2010 11:50
external flow with snappyHexMesh chelvistero OpenFOAM 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 04:12.