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

initialize 3D domain with 2D results

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 28, 2009, 03:21
Default initialize 3D domain with 2D results
  #1
Member
 
Ivan
Join Date: May 2009
Posts: 85
Rep Power: 8
ivanbuz is on a distinguished road
I have a 3D domain which is created by simply repeating the 2D domain in the z direction. if the 3D domain is initialized by giving a uniform value to the whole domain, it is very time-consuming to develop the flow.

here comes the question: can I initialize the 3D domain using the 2D result which is easy to obtain?

maybe many of you have had the same question. please throw me some hints, thanks!
ivanbuz is offline   Reply With Quote

Old   August 28, 2009, 07:12
Default
  #2
Senior Member
 
Max
Join Date: Mar 2009
Posts: 133
Rep Power: 8
coglione is on a distinguished road
Hello Ivan,

i had a similar problem and writing an interpolation file from 2-d and reading this back into 3-d did the job.

cheers
coglione is offline   Reply With Quote

Old   August 28, 2009, 13:09
Default
  #3
Member
 
Ivan
Join Date: May 2009
Posts: 85
Rep Power: 8
ivanbuz is on a distinguished road
Max,

Great! I need more details to really know how to do it. how to write the interpolation file? do you expand the 2D flow and make it contain 3D flow field info in the interpolation file?
ivanbuz is offline   Reply With Quote

Old   August 31, 2009, 03:05
Default
  #4
Senior Member
 
Max
Join Date: Mar 2009
Posts: 133
Rep Power: 8
coglione is on a distinguished road
No need to expand to 3-D, have a look at the user guide for writing and reading interpolation files.

cheers
coglione is offline   Reply With Quote

Old   September 1, 2009, 16:20
Default
  #5
Member
 
Ivan
Join Date: May 2009
Posts: 85
Rep Power: 8
ivanbuz is on a distinguished road
Hi, Max,

I did what you said (writing an interpolation file from 2-d and reading this back into 3-d), but I got a error message saying "the interpolation file has wrong dimensions". any way to get around this?
ivanbuz is offline   Reply With Quote

Old   September 3, 2009, 04:13
Default
  #6
Senior Member
 
Max
Join Date: Mar 2009
Posts: 133
Rep Power: 8
coglione is on a distinguished road
Hello Ivan,

i have to apologize for my last post which was incorrect. Actually you have to edit the 2-D interpolation file by hand:

1) At the second line change 2 to 3 to tell Fluent it is for 3-D now
2) You need to add a list of z-coordinates after the list of y-coordinates. This z-list should have the length of your data-points (number at line 3 = cells in 2-D) and the value of each point may be an arbitrary number but should be constant.

Have a look at the user guide where the syntax of interpolation files is well explained.

cheers
coglione is offline   Reply With Quote

Old   September 3, 2009, 18:19
Default
  #7
Member
 
Ivan
Join Date: May 2009
Posts: 85
Rep Power: 8
ivanbuz is on a distinguished road
Max,

You are very helpful, thank you very much for giving the details!

I tried another way which might be a little simpler, and it seems to work well: use a smaller 3D interpolation file to initialize a bigger 3D domain. Note that the two grids are different only in the z direction -- the bigger grid has a bigger z. I have NOT experimented on grids whose geometries are different in all three directions.
ivanbuz is offline   Reply With Quote

Reply

Tags
fluent, initialization

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
OpenFOAM - Validation of Results Ahmed OpenFOAM Running, Solving & CFD 9 June 22, 2011 18:59
wind tunnel results vs fluent pixie Main CFD Forum 1 August 20, 2009 08:02
DEFINE_ADJUST & Domain... Corentin FLUENT 9 April 9, 2008 11:30
validation of CFD results andy FLUENT 0 June 13, 2007 13:55
block geometry inside fluid domain jeff Main CFD Forum 18 April 12, 2004 11:37


All times are GMT -4. The time now is 04:23.