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

Initial field from .csv-file

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Opaque

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 24, 2015, 07:41
Default Initial field from .csv-file
  #1
New Member
 
Join Date: Oct 2012
Posts: 2
Rep Power: 0
MAHAM is on a distinguished road
Hello Community,

I have the following issue:

I want to conduct a multiphase flow analysis fo which the initial conditions come from a code other than CFX. Meaning I do have pressure, temperature, velocity and volume fraction fields which I would like to interpolate onto the mesh I created for the CFX-analysis as initial conditions. I could export those fields as a .csv file and would like to feed them to CFX in order to make use of its own interpolator. So far I haven't found a solution to this anywhere.
The *Help* hasn't been of much help. Is anybody aware of such a possibility or could point me into a direction?
Thanks in advance,
Max
MAHAM is offline   Reply With Quote

Old   August 24, 2015, 09:21
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
You can write a user fortran routine to do this. ANSYS support probably (or maybe hopefully) has some examples of how to do this.

Also a CEL 3D interpolation function can do it but you will not be able to pass a large amount of data in this way.
ghorrocks is online now   Reply With Quote

Old   August 24, 2015, 09:50
Default
  #3
Senior Member
 
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33
Opaque will become famous soon enough
I assume you are doing an accurate transient simulations, correct ?

If you import your .csv file into CFX-Pre, and use a CEL expression for the variables in the file as initial guess, does it work ? It should.
MAHAM likes this.
Opaque is online now   Reply With Quote

Old   August 24, 2015, 19:20
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Good point - see if the profile data thing works for you.
ghorrocks is online now   Reply With Quote

Old   September 24, 2015, 09:37
Default
  #5
New Member
 
Join Date: Oct 2012
Posts: 2
Rep Power: 0
MAHAM is on a distinguished road
Thank you. That did exactly what I intended.
MAHAM is offline   Reply With Quote

Reply

Tags
cfx, csv, initial conditions, interlolate


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
Cannot run the code properly: very large time step continuity error crst15 OpenFOAM Running, Solving & CFD 9 December 14, 2014 19:17
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 07:20
pimpleFoam: turbulence->correct(); is not executed when using residualControl hfs OpenFOAM Running, Solving & CFD 3 October 29, 2013 09:35
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 11:23
Differences between serial and parallel runs carsten OpenFOAM Bugs 11 September 12, 2008 12:16


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