CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Manipulate .res file

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 8, 2013, 10:34
Default Manipulate .res file
  #1
New Member
 
Join Date: Feb 2013
Posts: 4
Rep Power: 13
schetti1704 is on a distinguished road
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?
schetti1704 is offline   Reply With Quote

Old   February 8, 2013, 11:21
Default
  #2
Senior Member
 
Edmund Singer P.E.
Join Date: Aug 2010
Location: Minneapolis, MN
Posts: 511
Rep Power: 20
singer1812 is on a distinguished road
Just use the 2D as is. It will extrapolate the results.
singer1812 is offline   Reply With Quote

Old   February 8, 2013, 12:29
Default @singer1812
  #3
New Member
 
Join Date: Feb 2013
Posts: 4
Rep Power: 13
schetti1704 is on a distinguished road
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.
schetti1704 is offline   Reply With Quote

Old   February 8, 2013, 12:35
Default
  #4
Senior Member
 
Edmund Singer P.E.
Join Date: Aug 2010
Location: Minneapolis, MN
Posts: 511
Rep Power: 20
singer1812 is on a distinguished road
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.
singer1812 is offline   Reply With Quote

Old   February 8, 2013, 15:14
Default
  #5
New Member
 
Join Date: Feb 2013
Posts: 4
Rep Power: 13
schetti1704 is on a distinguished road
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.
schetti1704 is offline   Reply With Quote

Old   February 8, 2013, 15:48
Default
  #6
Senior Member
 
Edmund Singer P.E.
Join Date: Aug 2010
Location: Minneapolis, MN
Posts: 511
Rep Power: 20
singer1812 is on a distinguished road
Run a SS 3D case?
singer1812 is offline   Reply With Quote

Old   February 8, 2013, 15:58
Default
  #7
New Member
 
Join Date: Feb 2013
Posts: 4
Rep Power: 13
schetti1704 is on a distinguished road
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?
schetti1704 is offline   Reply With Quote

Reply

Tags
initialise, result file, user fortran

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
"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


All times are GMT -4. The time now is 05:13.