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

Multiple source files (initial condition)

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 10, 2011, 06:04
Default Multiple source files (initial condition)
  #1
TWA
New Member
 
Join Date: Sep 2011
Location: Norway
Posts: 10
Rep Power: 5
TWA is on a distinguished road
Hi,

I want to use multiple source files (.res files) as an initial condition for a transient simulation. In my .def file I have a fluid and a solid domain. I have one .res file with an identical mesh as in the .def file (for both fluid and solid), and I have one .res file with only the fluid mesh. In my transient simulation I want to use the initial values for the fluid domain from the "fluid-only" .res file, and initial values for the solid domain from the other .res file. I specify both files in the setup, but my problem is that the solver uses values for the fluid domain from the wrong .res file. It does not help to change the order of how I specify the .res files (Initial values 1 and Initial values 2 in Define run). Can I control which .res file which has the highest priority, or something like that?
TWA is offline   Reply With Quote

Old   November 10, 2011, 17:19
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,800
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
You cannot specify multiple initial conditions files. You are going to have to combine both res files into one file to use it - have a look at the cfx5interp.exe command and the options it has for combining res files. You may have to delete the solid domain from the fluid run, then interpolate the fluid run as one step, the solid run as the next step or something like that.
ghorrocks is offline   Reply With Quote

Old   November 11, 2011, 02:41
Default
  #3
TWA
New Member
 
Join Date: Sep 2011
Location: Norway
Posts: 10
Rep Power: 5
TWA is on a distinguished road
Aha, thank you. I managed to solve my problem with an alternative approach, but I'll look into this for future reference.
TWA is offline   Reply With Quote

Old   November 11, 2011, 05:04
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,800
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
Can you describe the alternate approach?
ghorrocks is offline   Reply With Quote

Old   November 11, 2011, 07:54
Default
  #5
TWA
New Member
 
Join Date: Sep 2011
Location: Norway
Posts: 10
Rep Power: 5
TWA is on a distinguished road
It was just something that was possible in this specific problem. In the fluid+solid simulation, I was able to retrieve an almost identical result by removing the fluid domain and instead apply a constant temperature on the walls where the fluid had been. (I'm really just interested in the temperature distribution in the solids in this steady state simulation.) So I ended up with one res file with only solid domains and one res file with only the fluid domain. I specified both in Define run and the solver picked the correct initial values for each domain from the two res files.
TWA is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SLTS+rhoPisoFoam: what is rDeltaT??? nileshjrane OpenFOAM Running, Solving & CFD 4 February 25, 2013 05:13
problem with Min/max rho tH3f0rC3 OpenFOAM 7 February 23, 2013 06:37
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 04:03
Error log vw.cfd OpenFOAM 6 August 7, 2009 05:44
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


All times are GMT -4. The time now is 23:53.