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

Mesh conversion from fluent

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 15, 2010, 06:57
Default Mesh conversion from fluent
  #1
Member
 
alessio.nz's Avatar
 
Alex
Join Date: Apr 2010
Posts: 48
Rep Power: 16
alessio.nz is on a distinguished road
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
alessio.nz is offline   Reply With Quote

Old   October 15, 2010, 07:05
Default
  #2
Member
 
Masashi Ohbuchi
Join Date: Oct 2009
Posts: 74
Rep Power: 17
Ohbuchi is on a distinguished road
Hi,

The fluentMeshToFoam needs only system/controlDict and doesn't need blockMeshDict.
Ohbuchi is offline   Reply With Quote

Old   October 15, 2010, 07:09
Default
  #3
Member
 
alessio.nz's Avatar
 
Alex
Join Date: Apr 2010
Posts: 48
Rep Power: 16
alessio.nz is on a distinguished road
Hi do you mean I should modify the controlDict file for the new mesh or is it enough with what I have?
alessio.nz is offline   Reply With Quote

Old   October 15, 2010, 16:17
Default
  #4
Member
 
Masashi Ohbuchi
Join Date: Oct 2009
Posts: 74
Rep Power: 17
Ohbuchi is on a distinguished road
Hi,

You don't need modify controlDict.
fluentMeshToFoam doesn't check inside the file.
Ohbuchi is offline   Reply With Quote

Old   October 17, 2010, 09:31
Default
  #5
Senior Member
 
maysmech's Avatar
 
Join Date: Jan 2010
Posts: 347
Blog Entries: 2
Rep Power: 17
maysmech is on a distinguished road
Quote:
Originally Posted by alessio.nz View Post

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,
maysmech is offline   Reply With Quote

Old   October 18, 2010, 06:34
Default
  #6
Member
 
alessio.nz's Avatar
 
Alex
Join Date: Apr 2010
Posts: 48
Rep Power: 16
alessio.nz is on a distinguished road
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 is offline   Reply With Quote

Old   October 18, 2010, 07:27
Default Example
  #7
Member
 
alessio.nz's Avatar
 
Alex
Join Date: Apr 2010
Posts: 48
Rep Power: 16
alessio.nz is on a distinguished road
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
alessio.nz is offline   Reply With Quote

Old   October 18, 2010, 10:27
Default
  #8
Senior Member
 
maysmech's Avatar
 
Join Date: Jan 2010
Posts: 347
Blog Entries: 2
Rep Power: 17
maysmech is on a distinguished road
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.
maysmech is offline   Reply With Quote

Old   October 18, 2010, 16:12
Default re:
  #9
Member
 
alessio.nz's Avatar
 
Alex
Join Date: Apr 2010
Posts: 48
Rep Power: 16
alessio.nz is on a distinguished road
many thanks, I will let you know!
alessio.nz 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gambit problems Althea FLUENT 22 January 4, 2017 04:19
[ICEM] Using Surface Mesh from ANSA for Fluent Sim tommymoose ANSYS Meshing & Geometry 15 March 3, 2016 18:29
[Commercial meshers] Fluent Mesh (XP32) to OpenFoam archymedes OpenFOAM Meshing & Mesh Conversion 1 April 1, 2010 06:26
[Commercial meshers] Wrong face orientations after conversion from fluent mesh stevecollie OpenFOAM Meshing & Mesh Conversion 6 July 14, 2008 08:20
Import ICEM Mesh to Fluent Fluent Beginner FLUENT 5 June 23, 2004 01:27


All times are GMT -4. The time now is 21:37.