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

Generating real 3D data from axis symmetric wedge data for cone

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 9, 2019, 02:20
Default Generating real 3D data from axis symmetric wedge data for cone
  #1
Senior Member
 
TWB
Join Date: Mar 2009
Posts: 400
Rep Power: 19
quarkz is on a distinguished road
Hi,

I currently have data from an axis symmetric cone simulation, ran using the 1-cell thick wedge BC.

Now I would like to simulate real 3D cone. For simplification, it's going to be a quarter cone, with the xz and yz given symmetry BC. The axis of the cone is in the z direction.

I would like to use the data I got from the 2D wedge simulation and I wonder if it is possible to copy the 2D data to 3D, replicating each slice

The reason for going from 2D to 3D is because I am going from RANS to DES simulations. And I require the resumed data from the RANS result.
quarkz is offline   Reply With Quote

Old   October 10, 2019, 05:57
Default
  #2
Senior Member
 
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 335
Rep Power: 28
GerhardHolzinger will become famous soon enoughGerhardHolzinger will become famous soon enough
This should be quite easy. Just follow these steps:
  1. Map the data from the 2-D case to the 3-D case
  2. Rotate the 3-D simulation domains with an angle smaller than the wedge angle of the 2-D domain
  3. Continue with point 1 until this loop has been traversed a sufficient number of time, so that the whole 360 degrees of the 3-D domain have been covered.
GerhardHolzinger is offline   Reply With Quote

Old   July 26, 2021, 12:41
Default
  #3
New Member
 
mengge
Join Date: Feb 2020
Posts: 6
Rep Power: 6
mengge is on a distinguished road
Hi, have you successfully did it?
I followed Gerhard's method, but now there are some problems. In the first step, the mapping doesn't seem to get the correct results, as the print attached below.
Quote:
Originally Posted by GerhardHolzinger View Post
This should be quite easy. Just follow these steps:
  1. Map the data from the 2-D case to the 3-D case
  2. Rotate the 3-D simulation domains with an angle smaller than the wedge angle of the 2-D domain
  3. Continue with point 1 until this loop has been traversed a sufficient number of time, so that the whole 360 degrees of the 3-D domain have been covered.
Any suggestions would be appreciate. Thank you!

mengge is offline   Reply With Quote

Old   July 27, 2021, 08:18
Default
  #4
Senior Member
 
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 335
Rep Power: 28
GerhardHolzinger will become famous soon enoughGerhardHolzinger will become famous soon enough
This looks quite reasonable. You can only map data between the 2D and the 3D case in places which are contained in both meshes.
That's why I formulated my recipe as a loop:

* map the data
* rotate the domain
* continue at the top, until the whole of the 3D domain has mapped data
GerhardHolzinger is offline   Reply With Quote

Old   July 28, 2021, 04:02
Default
  #5
New Member
 
mengge
Join Date: Feb 2020
Posts: 6
Rep Power: 6
mengge is on a distinguished road
Thanks! After the whole loop is done I've found that too. And this method does seem to be feasible!

Thanks again!
mengge is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can udf plays the role of excel fan-violaine Fluent UDF and Scheme Programming 2 February 18, 2019 12:01
[Other] Mesh for 2D axis symmetric wedge domain with stenosis yy205001 OpenFOAM Meshing & Mesh Conversion 4 April 18, 2016 11:32
how to hook this udf shanu FLUENT 1 August 26, 2011 11:48
How to update polyPatchbs localPoints liu OpenFOAM Running, Solving & CFD 6 December 30, 2005 18:27
udf error Rashmi FLUENT 0 December 27, 2005 06:35


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