CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Mesh conversion from fluent (http://www.cfd-online.com/Forums/openfoam/81079-mesh-conversion-fluent.html)

alessio.nz October 15, 2010 05:57

Mesh conversion from fluent
 
Hi everyone,

I tried to convert mesh from fluent with the command "fluentMeshToFoam <filename>" and at first it was not working.

After that, I created a new case file, for instance I copied the Pitzdaily3d case and I renamed it. In the new case folder I tried with the command mentioned and I had the mesh without any error. I also checked the mesh with "paraFoam" and everything was correct.

What about the blockMeshDict? why is it not there? could you please tell me how to solve the problem?

regards, Alex

Ohbuchi October 15, 2010 06:05

Hi,

The fluentMeshToFoam needs only system/controlDict and doesn't need blockMeshDict.

alessio.nz October 15, 2010 06:09

Hi do you mean I should modify the controlDict file for the new mesh or is it enough with what I have?

Ohbuchi October 15, 2010 15:17

Hi,

You don't need modify controlDict.
fluentMeshToFoam doesn't check inside the file.

maysmech October 17, 2010 08:31

Quote:

Originally Posted by alessio.nz (Post 279330)

What about the blockMeshDict? why is it not there? could you please tell me how to solve the problem?

regards, Alex

hi,
you don't need blockMeshDict file. when you import mesh from other softwares after the import you don't need type blockMesh because your mesh is ready for processing. so you should revise boundaries in 0 folder same as your patches in constant/polyMesh/boundary file and then type your solver for example pisoFoam ...;)
Best,

alessio.nz October 18, 2010 05:34

Hi thanks for the hint. Actually I am new with OF structure. In order to convert the mesh I made a new case file simply copying a present one (for instance pitzdaily3d of XiFoam) and I converted the mesh (which was with its BC already done). Is that the right way?

alessio.nz October 18, 2010 06:27

Example
 
if this is my boundary file (costant/polymesh/) for the mesh I converted:

-----------------------------------------------------------

FoamFile
{
version 2.0;
format ascii;
class polyBoundaryMesh;
location "constant/polyMesh";
object boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

9
(
wall
{
type wall;
nFaces 2126;
startFace 1564642;
}
inlet
{
type patch;
nFaces 3862;
startFace 1566768;
}
wall-swirl-plate
{
type wall;
nFaces 7408;
startFace 1570630;
}
wall-outflow-dump
{
type wall;
nFaces 1600;
startFace 1578038;
}
wall-chamber
{
type wall;
nFaces 3200;
startFace 1579638;
}
wall-dump
{
type wall;
nFaces 4400;
startFace 1582838;
}
wall-inflow
{
type wall;
nFaces 9328;
startFace 1587238;
}
wall-outflow
{
type wall;
nFaces 1600;
startFace 1596566;
}
outlet
{
type patch;
nFaces 4400;
startFace 1598166;
}
)

---------------------------------------------------------------------
If I want to change the files contained in the system/0/ folder, could you suggest me an example? For example using the Pitzdaily3D?

regards

maysmech October 18, 2010 09:27

Compare these 9 patches with 0/P and 0/U. you should have 9 patch with these names and their types. same as pitzDaily case. i recommend you to read user guide of OpenFOAM. you can see available boundary condition and its structure.

alessio.nz October 18, 2010 15:12

re:
 
many thanks, I will let you know!


All times are GMT -4. The time now is 19:00.