|
[Sponsors] |
August 28, 2009, 04:21 |
initialize 3D domain with 2D results
|
#1 |
Member
Ivan
Join Date: May 2009
Posts: 85
Rep Power: 17 |
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! |
|
August 28, 2009, 08:12 |
|
#2 |
Senior Member
Max
Join Date: Mar 2009
Posts: 133
Rep Power: 17 |
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 |
|
August 28, 2009, 14:09 |
|
#3 |
Member
Ivan
Join Date: May 2009
Posts: 85
Rep Power: 17 |
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? |
|
August 31, 2009, 04:05 |
|
#4 |
Senior Member
Max
Join Date: Mar 2009
Posts: 133
Rep Power: 17 |
No need to expand to 3-D, have a look at the user guide for writing and reading interpolation files.
cheers |
|
September 1, 2009, 17:20 |
|
#5 |
Member
Ivan
Join Date: May 2009
Posts: 85
Rep Power: 17 |
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? |
|
September 3, 2009, 05:13 |
|
#6 |
Senior Member
Max
Join Date: Mar 2009
Posts: 133
Rep Power: 17 |
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 |
|
September 3, 2009, 19:19 |
|
#7 |
Member
Ivan
Join Date: May 2009
Posts: 85
Rep Power: 17 |
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. |
|
Tags |
fluent, initialization |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM - Validation of Results | Ahmed | OpenFOAM Running, Solving & CFD | 10 | May 13, 2018 19:28 |
wind tunnel results vs fluent | pixie | Main CFD Forum | 1 | August 20, 2009 09:02 |
DEFINE_ADJUST & Domain... | Corentin | FLUENT | 9 | April 9, 2008 12:30 |
validation of CFD results | andy | FLUENT | 0 | June 13, 2007 14:55 |
block geometry inside fluid domain | jeff | Main CFD Forum | 18 | April 12, 2004 12:37 |