|
[Sponsors] |
February 8, 2013, 10:34 |
Manipulate .res file
|
#1 |
New Member
Join Date: Feb 2013
Posts: 4
Rep Power: 13 |
Is there any way to read out all flow data from a CFX calculation file, manipulate it an use to initialize a new calculation?
This is the background to the question: I am working on the flow through the gap between a large and a small cylinder (much like the flow in a journal bearing). When both cylinders share the same centreline, the geometry is rotationally symmetric and the problem can be solved in a quasi 2D calculation. When the inner cylinder is excentric to the outer cylinder, it becomes three dimensional. I would like to run a 2D calculation and use the results (flow field) to create a three dimensional .res file with a centric rotor. I am familiar with the capabilities of user fortran, but haven't found any way to manipulate flow data in a results file. Any ideas? |
|
February 8, 2013, 11:21 |
|
#2 |
Senior Member
Edmund Singer P.E.
Join Date: Aug 2010
Location: Minneapolis, MN
Posts: 511
Rep Power: 21 |
Just use the 2D as is. It will extrapolate the results.
|
|
February 8, 2013, 12:29 |
@singer1812
|
#3 |
New Member
Join Date: Feb 2013
Posts: 4
Rep Power: 13 |
Thanks for the quick response.
It does extrapolate, but unfortunately the results aren't useful. It has the velocities in the wrong direction in the 3D case, and pressure also seams to be wrong. |
|
February 8, 2013, 12:35 |
|
#4 |
Senior Member
Edmund Singer P.E.
Join Date: Aug 2010
Location: Minneapolis, MN
Posts: 511
Rep Power: 21 |
Are you not using the 2D to initialize a 3D run?
That seems to indicate a problem with your model. The starting values should not be your issue. If you just want to have the 2D model look 3D in post processing, take a look into instance transforms in CFD POST. |
|
February 8, 2013, 15:14 |
|
#5 |
New Member
Join Date: Feb 2013
Posts: 4
Rep Power: 13 |
The Case Starts with a rotationally symmetric geometry and flow, so a 2D calculation would suffice. Then the mesh deforms in a transient run and the problems becomes non-symmetric and therefore 3D.
If I could get the initial values for the transient 3D run from a 2D calculation, that would save me a lot of time. |
|
February 8, 2013, 15:48 |
|
#6 |
Senior Member
Edmund Singer P.E.
Join Date: Aug 2010
Location: Minneapolis, MN
Posts: 511
Rep Power: 21 |
Run a SS 3D case?
|
|
February 8, 2013, 15:58 |
|
#7 |
New Member
Join Date: Feb 2013
Posts: 4
Rep Power: 13 |
That is plan B. But much more costly. I have to run 30 of those calculations, all slightly different, 3 million nodes each.
Is there a way to get data from one result file to another? |
|
Tags |
initialise, result file, user fortran |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
"parabolicVelocity" in OpenFoam 2.1.0 ? | sawyer86 | OpenFOAM Running, Solving & CFD | 21 | February 7, 2012 12:44 |
Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory' | mfiandor | OpenFOAM Installation | 2 | January 25, 2010 10:50 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 11:23 |
[Gmsh] Compiling gmshFoam with OpenFOAM-1.5 | BlGene | OpenFOAM Meshing & Mesh Conversion | 10 | August 6, 2009 05:26 |
Regarding FoamX running Kindly help out | hariya03 | OpenFOAM Pre-Processing | 0 | April 18, 2008 05:26 |