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

Defining multiple regions in MRFsimpleFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 21, 2014, 02:26
Default Defining multiple regions in MRFsimpleFoam
  #1
New Member
 
Mohammed Ameenuddin
Join Date: Feb 2014
Posts: 15
Rep Power: 12
ameen@cfd is on a distinguished road
Hello everyone,

I am working on centrifugal pump. I have generated the mesh in GridPro and converted it into openfoam. I have generated three fluid regions (say fluid1,fluid2 & fluid3) within the domain. The fluid1 (rotating) is the region surrounding the rotor and fluid2&fluid3 (non rotating) are near the outer boundary (outer casing). These regions are written in cellzone files generated after conversion.

My query is,
1. Will it be sufficient to define fluid1 (rotating) in fvoptions file or do i need to define the other regions as well. If yes then how can i do it.

2. If i donot define the non rotating cellzone will the solver consider it while solving. figure4_fluidregion_1.jpg

figure5_fluidregion_2.jpg

figure6_fluidregion_3.jpg

Thank you.
ameen@cfd is offline   Reply With Quote

Old   April 21, 2014, 09:46
Default
  #2
Senior Member
 
fumiya's Avatar
 
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 266
Blog Entries: 1
Rep Power: 19
fumiya is on a distinguished road
Hi,

Only rotating region has to be defined in fvOptions file.
You might want to take a look at incompressible/simpleFoam/mixerVessel2D tutorial.

Hope this helps,
Fumiya
Attached Images
File Type: jpg MRF.jpg (34.2 KB, 38 views)
__________________
[Personal]
fumiya is offline   Reply With Quote

Old   April 22, 2014, 05:39
Default
  #3
New Member
 
Mohammed Ameenuddin
Join Date: Feb 2014
Posts: 15
Rep Power: 12
ameen@cfd is on a distinguished road
Thank you Fumiya Nozaki, that was quite helpful. But that arises few more doubts.

1. Isn't it necessary to define relative velocity for the rotating parts. But as I can see in the tutorial there is no relative velocity defined. How does this work.

2. The other thing is I tried to solve my problem as per tutorial, but when I tried standard K-epsilon model my solution was giving me this error.

Time = 1.4

smoothSolver: Solving for Ux, Initial residual = 1.47848e-23, Final residual = 1.47848e-23, No Iterations 0
smoothSolver: Solving for Uy, Initial residual = 1.78189e-22, Final residual = 1.78189e-22, No Iterations 0
smoothSolver: Solving for Uz, Initial residual = 1.33499e-21, Final residual = 1.33499e-21, No Iterations 0
GAMG: Solving for p, Initial residual = 5.54095e-09, Final residual = 5.54095e-09, No Iterations 0
time step continuity errors : sum local = 1.3739e+119, global = -7.70269e+101, cumulative = -7.70269e+101
#0 Foam::error:rintStack(Foam::Ostream&) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1 Foam::sigFpe::sigHandler(int) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 in "/lib/x86_64-linux-gnu/libc.so.6"
#3 Foam::multiply(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#4 void Foam::multiply<Foam::fvPatchField, Foam::volMesh>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libincompressibleTurbulenceModel.so"
#5 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam:perator*<Foam::fvPatchField, Foam::volMesh>(Foam::tmp<Foam::GeometricField<doub le, Foam::fvPatchField, Foam::volMesh> > const&, Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > const&) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so"
#6 Foam::incompressible::RASModels::kEpsilon::correct () in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so"
#7
in "/opt/openfoam230/platforms/linux64GccDPOpt/bin/simpleFoam"
#8 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#9
in "/opt/openfoam230/platforms/linux64GccDPOpt/bin/simpleFoam"
Floating point exception (core dumped)

But again when I used realizableKE this error didnt occur and is running. Is there any specific reason for it.

Thank you.
ameen@cfd is offline   Reply With Quote

Old   April 22, 2014, 10:20
Default
  #4
Senior Member
 
fumiya's Avatar
 
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 266
Blog Entries: 1
Rep Power: 19
fumiya is on a distinguished road
Hi,

1. I think this document might clear up your doubts (page 17):
http://www.tfd.chalmers.se/~hani/kur...inery-OFW7.pdf

2. The kEpsilon model is used in this tutorial:
https://github.com/OpenFOAM/OpenFOAM.../RASProperties

Hope this helps,
fumiya
__________________
[Personal]
fumiya is offline   Reply With Quote

Old   April 26, 2014, 01:05
Default
  #5
New Member
 
Mohammed Ameenuddin
Join Date: Feb 2014
Posts: 15
Rep Power: 12
ameen@cfd is on a distinguished road
Thank you for the information. I have implemented it to my problem and running quite well.

If there are any issues i'll post them again.
ameen@cfd is offline   Reply With Quote

Old   April 28, 2014, 08:34
Default
  #6
New Member
 
Mohammed Ameenuddin
Join Date: Feb 2014
Posts: 15
Rep Power: 12
ameen@cfd is on a distinguished road
Hello Fumiya, Thanks for your help I am able to run my problem. Though it seems, it would take lot of time to converge.

Mean time I was thinking if particle tracking with MRFSimpleFoam is possible or not. The fluid I considered is blood, so in order to calculate blood damage due to stresses I want to implement particle tracking. Can you suggest how can I actually implement it.

Thank you.
ameen@cfd is offline   Reply With Quote

Old   May 6, 2014, 03:57
Default Convergence
  #7
New Member
 
Mohammed Ameenuddin
Join Date: Feb 2014
Posts: 15
Rep Power: 12
ameen@cfd is on a distinguished road
I have been running my simulations for over 10000 iterations but I am not able to achieve convergence even below 10^-4. Can anyone help me to sort out this issue.

Details.

I'm solving centrifugal pump containing 5.4 Million Hexa cells using MRFSimpleFoam.

I have attached my boundary condition files and fvschemes and fvsolutions files.

Kindly provide some feedback.
U_P_K_E_file.pdf

fvSchemes.pdf

fvSolutions.pdf
Thank you.
ameen@cfd is offline   Reply With Quote

Old   May 9, 2014, 06:29
Default
  #8
New Member
 
Mohammed Ameenuddin
Join Date: Feb 2014
Posts: 15
Rep Power: 12
ameen@cfd is on a distinguished road
Can anyone please help me regarding the convergence.

I have changed from kepsilon to kOmegaSST and tried even changing the under relaxation factors. I changed the scheme to upwind. Even then I am not able to reach convergence upto 10^-4.

Any suggestions. The geometry and P, U conditions is same as defined in above

postresidualplot.jpg.
ameen@cfd is offline   Reply With Quote

Reply

Tags
gridpro, mrfsimplefoam, openfoam


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
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 07:09
[snappyHexMesh] multiple regions Tobi OpenFOAM Meshing & Mesh Conversion 56 March 29, 2020 05:53
blockCoupled solver for multiple regions benk OpenFOAM 2 February 13, 2014 23:35
OpenFOAM static build on Cray XT5 asaijo OpenFOAM Installation 9 April 6, 2011 13:21
defining epsilon for multiple partitions dlogue OpenFOAM Running, Solving & CFD 0 May 20, 2010 12:41


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