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

convert to foam a mesh with 3 zones made with gambit

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   October 9, 2012, 11:15
Default convert to foam a mesh with 3 zones made with gambit
  #1
Senior Member
 
sivakumar selvaraju
Join Date: Mar 2009
Location: Cape Town - South Africa
Posts: 186
Rep Power: 7
sivakumar is on a distinguished road
Send a message via Skype™ to sivakumar
Hi there,
I have a simple problem, I have generated the mesh using gambit,
I followed the steps to convert the mesh is:
1) fluent3DMeshToFoam
2) createPatch for my cyclic boundary

I am able to see the mesh in paraView.

Now I want to use MRFSimpleFoam.
for my sample case I used blockMesh, there I dindt get any problem to run MRFSimpleFoam, because blockMesh creates cellSet cellZone and all the necessary files.

my questions are:

1) Do we need to define the regions in the gambit itself?
or can we create the cellSet and cellZone using some other option?

2) If it is possible to use some other option, what are the option?
can you guys please explain, what are the steps I need to do to make my case to run?

thanks,
Sivakumar
sivakumar is offline   Reply With Quote

Old   October 10, 2012, 05:17
Default convert to foam a mesh with 3 zones made with gambit
  #2
Senior Member
 
sivakumar selvaraju
Join Date: Mar 2009
Location: Cape Town - South Africa
Posts: 186
Rep Power: 7
sivakumar is on a distinguished road
Send a message via Skype™ to sivakumar
Hi There,

I am looking for your help to solve the problem.

I have the following problem,


I have a simple problem, I have generated the mesh using gambit, it has 3 volume. (1 st volume with Inlet, 2 volume fan, 3rd volume with outlet).

I followed the steps to convert the mesh is:
1) fluent3DMeshToFoam
2) createPatch for my cyclic boundary

I am able to see the mesh in paraView.

Now I want to use MRFSimpleFoam.


my questions are:

It seems that I need to execute "topoSet"
I am trying to edit "topoSetDict" but I am totally confused.

please can you guys explain a bit about the topoSetDict.

My boundary file looks like;

12
(
fan
{
type wall;
nFaces 2800;
startFace 1357300;
}
top2
{
type wall;
nFaces 5600;
startFace 1360100;
}
top1
{
type wall;
nFaces 800;
startFace 1365700;
}
top0
{
type wall;
nFaces 2800;
startFace 1366500;
}
center1
{
type wall;
nFaces 5600;
startFace 1369300;
}
center0
{
type wall;
nFaces 2800;
startFace 1374900;
}
outlet
{
type patch;
nFaces 2000;
startFace 1377700;
}
inlet
{
type patch;
nFaces 2000;
startFace 1379700;
}
ILR0
{
type cyclic;
nFaces 3500;
startFace 1381700;
matchTolerance 0.001;
neighbourPatch ILR1;
transform rotational;
rotationAxis (1 0 0);
rotationCentre (0 0 0);
}
ILR1
{
type cyclic;
nFaces 3500;
startFace 1385200;
matchTolerance 0.001;
neighbourPatch ILR0;
transform rotational;
rotationAxis (1 0 0);
rotationCentre (0 0 0);
}
OLR0
{
type cyclic;
nFaces 7000;
startFace 1388700;
matchTolerance 0.001;
neighbourPatch OLR1;
transform rotational;
rotationAxis (1 0 0);
rotationCentre (0 0 0);
}
OLR1
{
type cyclic;
nFaces 7000;
startFace 1395700;
matchTolerance 0.001;
neighbourPatch OLR0;
transform rotational;
rotationAxis (1 0 0);
rotationCentre (0 0 0);
}
)

what are the steps I need to do to make my case to run?


Thanks,
Sivakumar
sivakumar is offline   Reply With Quote

Old   October 13, 2012, 04:27
Default
  #3
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,345
Blog Entries: 32
Rep Power: 72
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
Greetings Sivakumar,

Please do not repeat your questions on multiple threads. Doing so will in fact reduce the chances of getting an answer.
I've removed duplicate posts of these ones and moved your questions to a new thread and onto the proper sub-forum.

About your questions, I believe you will find the answer here: OpenFoam 2.1.0/x: creation of sets and cellZones. post #20. You might want to read the whole thread, because there is a lot of valuable information there.

Best regards,
Bruno

Last edited by wyldckat; October 13, 2012 at 04:33. Reason: Made some additions to the thread and post...
wyldckat is offline   Reply With Quote

Old   October 13, 2012, 04:52
Default
  #4
Senior Member
 
sivakumar selvaraju
Join Date: Mar 2009
Location: Cape Town - South Africa
Posts: 186
Rep Power: 7
sivakumar is on a distinguished road
Send a message via Skype™ to sivakumar
Hi Bruno,
Thanks for your reply and apologies for the multiple thread post.
The reason is, not only one thread is related to my problem, users are discussed similar kind of problems in many threads.
So, I was thinking that If I post my question in one thread other people many not be able to receive the email intimation that is why I posted my question where ever I see the related issue ( I am really sorry for this, I will not repeat it).

Thanks,
Sivakumar
sivakumar is offline   Reply With Quote

Old   October 13, 2012, 04:57
Default
  #5
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,345
Blog Entries: 32
Rep Power: 72
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
Hi Sivakumar,

When there is more than one thread, then the usual suggestion is that a person chooses the most recent thread. Because the other ones may be so old, that the people notified on that thread might no even remember what happened months ago!

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   October 13, 2012, 05:55
Default
  #6
Senior Member
 
sivakumar selvaraju
Join Date: Mar 2009
Location: Cape Town - South Africa
Posts: 186
Rep Power: 7
sivakumar is on a distinguished road
Send a message via Skype™ to sivakumar
Hi Bruno,
thanks for your suggestion, I will follow it.

thanks,
Sivakumar
sivakumar is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 12 December 12, 2011 04:16
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 13:06
problem when converting mesh (made by ICEM) using fluentMeshToFoam Forrest_Lei OpenFOAM 11 October 16, 2009 06:28
3-D Mesh Check in Gambit..... SHR FLUENT 4 March 25, 2003 03:10


All times are GMT -4. The time now is 08:17.