Variable Omega in MRFZones
Hi to all Foamers,
First thank to all of you cause you've been very helpful in mi introduction to OpenFoam. I've read a lot of posts to fix my errors but now I can't see how to fix this one. So I hope you can tell me what I'm doing wrong. I'm trying to simulate a tank with a fluid rotating with variable angular velocity (omega). I read that someone tried to do that but I cannot find the post and the reference given by a user was to do the same as if you want to make gravity variable. So what I tried to do was making conditions in the MRFZones file. Code:
/*--------------------------------*- C++ -*----------------------------------*\ I do all processes (blockMesh, topoSet, setsToZones, setFields,...) but when I try to solve (MRFInterFoam) an error ocurred pointing the MRFZones file. Code:
Selecting incompressible transport model Newtonian Anyone can help me? Thanks Eric |
After talking to my project tutor I realized that the conditions must not be in the dictionary. So I've fixed the problem.
|
Hi Eric,
I am working with a similar simulation; it is a tank filled with water and an impeller on the bottom. I specified the MRFzones in fvOptions and everything seems okay. However, now I am trying to run it again with other dimensions (the impeller is no longer located at 0,0,0 ) and I don't know if my mistake is where I define the origin of rotation. Do you know if that origin is the centre of the entire mesh, or is it the centre of the rotating object? Thanks in advance. |
Hey,
I did another thing to get the omega specified in the MRF dictionary in my solver. The origin defined in MRFZone dictionary is the origin of the rotation of your Reference Frame as far as I know. If you need the omega in your solver I can tell you how to call it. |
Quote:
i set my mrf zone as given: Code:
MRF1 can someone help me? |
Hi.
As was the original problem of this post, I want to define a time depending omega for a MRFZone. Considering the boundary condition "rotatingWallVelocity" this can simply be done by defining a table with linear interpolation at intermediate time increments. What are the options for the definition of a MRFZone? Quote:
Code:
Foam::MRFZone::MRFZone(const fvMesh& mesh, Istream& is) I'm thankful for any help. Michael |
All times are GMT -4. The time now is 09:18. |