|
[Sponsors] |
February 28, 2018, 05:35 |
[FLOEFD]-2D Calculation from 3D
|
#1 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
Hello,
Is there a tutorial or some material which explains how to handle a 3D Geometry in a 2D Calculation. For instance I have a flow in a 3d pipe and I want to calculate it in 2D. Perfectly would be axisymetrical... Thanks for any tipp Maxime
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
March 28, 2018, 07:17 |
|
#2 |
Disabled
Join Date: Jul 2009
Posts: 616
Rep Power: 23 |
Hi Maxime,
There is a drag tutorial with a 2D project but it is not the inside of a pipe. In principle, you can use a flat plate for the pipe walls except if the curvature is of importance, if the domain is thin enough like a 2D slice, there wouldn't be any information on its curvature as well. So this is a possibility. You can use either two walls for both sides of the pipe or you use one wall and model the centerline as symmetry as it would be just a mirrored flow anyway. Regards, Boris |
|
April 9, 2018, 01:52 |
|
#3 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
Hello Boris,
I was able to run my model in 2D, but it was not so easy as in 3D. Indeed I had to create the 2d sketch from scratch. I thought FloEFD has capability to recognize a 2d "section", from a 3d model
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
April 9, 2018, 03:01 |
|
#4 |
Disabled
Join Date: Jul 2009
Posts: 616
Rep Power: 23 |
FloEFD's 2D is at least 1 cell thick (basic mesh) when it refines it still applies the octree refinement so not only in 2D but also in 3D but Level 0 cells are 1 cell in thickness. So if you go into the computational domain settings you will be able to set the 3rd dimension thickness for the computational domain. So you could basically set a 2mm thickness and then have the cell size in the other directions 1 cm in length, the thickness will be 2mm.
Boris |
|
April 9, 2018, 09:02 |
|
#5 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
Hello Boris,
My issue wasn't on the mesh side, but more on the topology. FloEFD couldn't switch automatically from 3d to 2d without "preparing" the topoly
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
April 9, 2018, 09:25 |
|
#6 |
Disabled
Join Date: Jul 2009
Posts: 616
Rep Power: 23 |
Oh, yes. The preparing model phase in the mesher is the process of writing the CAD geometry out for the mesher to process it. This has to be done as soon as the geometry or the computational domain changes as this is what is used by the mesher and the geometry in the computational domain is being prepared for the mesher.
Boris |
|
April 10, 2018, 01:14 |
|
#7 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
So my (implicit) question was: can we easy switch from 3d to 2d.
Let's take the geometry of tutorial Heat Exchanger Efficiency (3d). Can we handle it in 2d in few steps?
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
April 10, 2018, 03:16 |
|
#8 |
Disabled
Join Date: Jul 2009
Posts: 616
Rep Power: 23 |
In principle yes.
I think the center hot pipe has a velocity applied which works in 2D as well, the other cold inlet has a volume flow rate I think so this has to change as the volume flow rate is based on a smaller surface due to the thin 2D inlet piece. But the issue is more than the center pipe is splitting the top part where the cold fluid enters and leaves from the bottom part of that fluid volume as there is no way the fluid can flow around the center pipe in a 2D slice. Therefore the simulation will not provide correct results as the flow is a 3D flow for the heat exchanger but the switching the model can be done easily. Of course, it always depends a little on the model and adjustments that need to me done on the boundary conditions mentioned above or if a geometry does not 100% satisfy the 2D consideration approach FloEFD uses, such as cone with a pointy tip where the tip becomes a single point but FloEFD uses a, well semi-2D approach, so not an actual 2D slice but a 2D with one cell thickness etc. but in general yes. See my images attached. Boris |
|
April 10, 2018, 09:20 |
|
#9 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
OK it seems to be easy.
I tried for weeks ago, but I couldnt switch from 3d to 2d. Perhaps because I started from an "already computed" 3d model, and not from scratch... Anyway thanks Boris for your info
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
April 10, 2018, 09:45 |
|
#10 |
Disabled
Join Date: Jul 2009
Posts: 616
Rep Power: 23 |
It still is easy to do. You will need to adjust the boundary conditions and make sure that you run from scratch including meshing of course, not continue the calculation.
What you can do with such changes is to simply create a clone with all the settings and then edit that clone for a 2D case. If you have goals of BCs outside the 2D computational domain they will complain either delete them completely of if just some surfaces are outside, use the filter option to filter out the surfaces laying outside the computational domain. This should work. Regards, Boris |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dynamic mesh adaption in parallel calculation | xh110120 | FLUENT | 1 | March 12, 2016 08:05 |
Determining the calculation sequence of the regions in multe regions calculation | peterhess | OpenFOAM Running, Solving & CFD | 4 | March 9, 2016 03:07 |
Increase in CPU number during the FIRE calculation | amin_u50 | AVL FIRE | 0 | August 6, 2014 08:34 |
MRF and Heat transfer calculation | Susan YU | FLUENT | 0 | June 2, 2010 08:46 |
Warning 097- | AB | Siemens | 6 | November 15, 2004 04:41 |