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

chtMultiRegionFoam and MRF

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By Bloerb
  • 1 Post By Bloerb

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 16, 2019, 07:03
Default chtMultiRegionFoam and MRF
  #1
New Member
 
Kevin Habrock
Join Date: Oct 2018
Posts: 22
Rep Power: 8
Kevin.H is on a distinguished road
Dear Foamers,
I try to simulate a rotating System with different regions in chtMultiRegionFoam in combination with MRF. Actually I would like to use the OF 4.1 Version to solve this case but I have read that in this Version the solver doesn´t support multi reference frame.

http://www.tfd.chalmers.se/~hani/kur...elayReport.pdf

Do anybody of you know if the new OF 6.0 Version is able to combine chtMultiRegion and MRF?

Best regards

Last edited by Kevin.H; January 16, 2019 at 08:16.
Kevin.H is offline   Reply With Quote

Old   January 16, 2019, 09:25
Default
  #2
Senior Member
 
Join Date: Sep 2013
Posts: 353
Rep Power: 21
Bloerb will become famous soon enough
Yes it does.

You should see something like this in the UEqn.H file. If it is supported
Code:
    MRF.correctBoundaryVelocity(U);

    tmp<fvVectorMatrix> tUEqn
    (
        fvm::ddt(rho, U) + fvm::div(phi, U)
      + MRF.DDt(rho, U)
      + turbulence.divDevRhoReff(U)
     ==
        fvOptions(rho, U)
    );
Kevin.H likes this.
Bloerb is offline   Reply With Quote

Old   January 16, 2019, 10:28
Default
  #3
New Member
 
Kevin Habrock
Join Date: Oct 2018
Posts: 22
Rep Power: 8
Kevin.H is on a distinguished road
Bloerb, thank you for your quick answer.
As I see, this line is also implemented in OF 4.1.

So it is possible that the Problem of my case is in front of the destop .
The backround is that I try to combine two orthogonal hollow cylinder (solid) which were rotating in a fluid. The boundary conditions are fine right now, but when I try to implement the MRF with topoSet I get this result:

Code:
--> FOAM FATAL ERROR: 
Cell 0 with cell centre (0.0337975 0.00132793 0.0004375) is multiple zones. This is not allowed.
It is in zone magnet and in zone rotor
    From function void getZoneID(const Foam::polyMesh&, const cellZoneMesh&, Foam::labelList&, Foam::labelList&)
    in file splitMeshRegions.C at line 1217.
FOAM exiting
Because of the orthogonally this error message makes sense to me but I have no clue how to fix it.
Maybe somebody has some experience with chtMultiRegion and MRF.
Kevin.H is offline   Reply With Quote

Old   January 16, 2019, 12:17
Default
  #4
Senior Member
 
Join Date: Sep 2013
Posts: 353
Rep Power: 21
Bloerb will become famous soon enough
Well you defined cellZones with topoSet which apparently overlap. This is not allowed.
Once you have your region meshes. Delete the polyMesh/cellZone file and define them with e.g topoSet -region regionA in a logical fashion
Kevin.H likes this.
Bloerb is offline   Reply With Quote

Old   January 17, 2019, 04:08
Default
  #5
New Member
 
Kevin Habrock
Join Date: Oct 2018
Posts: 22
Rep Power: 8
Kevin.H is on a distinguished road
Thank you Bloerb for your support

I implemented the topoSetDict in the system/fluid Folder and the MRFProperties in the constant/fuid Folder and now it seems to work.

It is really logic. Thank you!
Kevin.H is offline   Reply With Quote

Old   June 27, 2019, 14:55
Default
  #6
New Member
 
shach
Join Date: Apr 2019
Posts: 26
Rep Power: 7
shach934 is on a distinguished road
Hi,
Have you succeeded with chtMultiRegionFoam with MRF? I am working on a similar case and tried with this quite a while, however, didn't get it working...Is it possible for you to share a case from you? I really appreciate your help!
Thanks!


Quote:
Originally Posted by Kevin.H View Post
Thank you Bloerb for your support

I implemented the topoSetDict in the system/fluid Folder and the MRFProperties in the constant/fuid Folder and now it seems to work.

It is really logic. Thank you!
shach934 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



All times are GMT -4. The time now is 14:28.