|
[Sponsors] |
January 27, 2014, 03:17 |
MRFInterFoam
|
#1 |
New Member
Join Date: Jan 2014
Posts: 26
Rep Power: 12 |
Hi guys, so I've been trying to simulate a rotating vessel in OpenFoam using the solver MFRInterFoam , but don't know how to define my CellZones file in the Poly Mesh directory.
I want the whole vessel to rotate . I thought the number in the cell zones file must be equal to the number of points in the Points file in the same directory , but got the following error : "Reading g Calculating field g.h No finite volume options present Creating MRF zone list from MRFProperties creating MRF zone: zone1 *** Error in `MRFInterFoam': malloc(): memory corruption: 0x09cb6408 ***" I reduced the number of cell zones and the solver worked , but the result didn't seem to be correct . So can anyone tell me what my number of cells should be ? Is there any relation between the number of Points and Cell Zones ? Thank you in advance for your time ! |
|
January 28, 2014, 02:44 |
|
#2 |
Senior Member
|
Hi,
A cellZone is basically just a list of cellLabels, so integers that identify each cell. Your cellZone should have all the cells that are within the vessel. Try to run and analyze one of the tutorials for MRF*Foam to see how it works. Regards, Tom |
|
January 28, 2014, 10:17 |
|
#3 |
New Member
Join Date: Jan 2014
Posts: 26
Rep Power: 12 |
Thanks tomf , but i looked it up and couldn't find anything online , If you could give me a tutorial link or something i would be very grateful !
|
|
January 28, 2014, 10:24 |
|
#4 |
Senior Member
|
Hi,
It is not online, OpenFOAM comes along with all kinds of tutorials, this is explained in the user guide that comes along as well. You can also find the tutorial folders if you type this in your terminal (after loading the OpenFOAM environment variables): Code:
tut Regards |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
3Dmixer on simpleFoam and MRFInterFoam. | sharonyue | OpenFOAM Running, Solving & CFD | 1 | May 12, 2013 01:04 |
Boundary Conditions on MRFInterfoam | edalmau | OpenFOAM Running, Solving & CFD | 0 | April 23, 2013 13:32 |
MRFInterFoam | JulytoNovember | OpenFOAM Running, Solving & CFD | 0 | October 7, 2011 19:26 |
MRFInterFoam should go to $(FOAM_APPBIN) | 7islands | OpenFOAM Bugs | 1 | August 1, 2010 05:37 |
MRFInterFoam: Trouble with direction of gravity / Continuity error cannot be removed | bengt | OpenFOAM Running, Solving & CFD | 2 | May 28, 2010 14:45 |