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

Interpolate solution onto only some target domains

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 15, 2016, 07:29
Default Interpolate solution onto only some target domains
  #1
New Member
 
Brian
Join Date: Mar 2009
Posts: 9
Rep Power: 10
gotang is on a distinguished road
Hi all,

I'm running a simulation in CFX with fluid domains [Domain1,Domain2,Domain3]. I would like to interpolate some of the solution onto a new simulation with fluid domains [Domain1,Domain2,Domain4] - in other words, the first two fluid domains are identical to my previous simulation, but the third is changed completely. The trouble is that Domain 3 and Domain 4 do not overlap at all (these domains represent cooling holes, and so I am effectively changing the location of the cooling feeds entirely), so the Interpolator gives the error: "There are no mapped nodes in the domain."

Is there any way that I can tell CFX to initialise Domain4 from scratch, while still interpolating the previous results onto Domain1 and Domain2? I know that in Fluent this is possible (by first initialising the whole solution, then interpolating just the required domains), but I haven't been able to find a way of doing this in CFX.

Thanks!
gotang is offline   Reply With Quote

Old   August 15, 2016, 07:47
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 13,195
Rep Power: 102
ghorrocks is a jewel in the roughghorrocks is a jewel in the roughghorrocks is a jewel in the rough
You can set initial condition values by domain. So if you set an initial condition on domain 4 it will hopefully use that instead of interpolated values which don't give you anything.
ghorrocks is offline   Reply With Quote

Old   August 15, 2016, 08:27
Default
  #3
New Member
 
Brian
Join Date: Mar 2009
Posts: 9
Rep Power: 10
gotang is on a distinguished road
The trouble with that is that the interpolator refuses to run at all unless all target domains have an "Interpolation Mapping" set to them, and if I try to map Domain3 onto Domain4 (intending to override the interpolation using the "Initial Values" setting), the interpolator gives the "no mapped nodes" error.
gotang is offline   Reply With Quote

Old   March 6, 2017, 08:12
Default
  #4
New Member
 
Brian
Join Date: Mar 2009
Posts: 9
Rep Power: 10
gotang is on a distinguished road
Resurrecting an old thread and answering my own question, I've finally found the solution so I thought I'd post it here for the next person who faces this problem!

The answer is essentially what ghorrocks was suggesting (Thanks!), but I'd got the specifics of how to initialise it incorrect (definitely my fault, not his). You need to set up the "Initial Values Specification" under "Execution Control", but without specifying anything under "Interpolation Mapping". CFX will then do its best effort at working out which domains to map onto from the source domain. Additionally, you specify "Domain Initialisation" for the domain that you don't want to interpolate/is not available in your previous solution (double-click on the domain name in the tree, look for the "Initialisation" tab), and set up an initialisation there. Don't include a "Global initialisation" entry in your tree.

With this setup, CFX will first attempt to initialise the domain from your Initial Values specification(s) (you can specify multiple previous runs to start from, and CFX will take its best guess on the appropriate mapping), but will then reinitialise the domain(s) you have specified manually.
gotang 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
Waves2Foam Related Topics ngj OpenFOAM Running, Solving & CFD 1416 March 23, 2017 06:13
Converging the solution aja1345 FLUENT 10 June 26, 2015 18:00
grid dependancy gueynard a. Main CFD Forum 19 June 27, 2014 21:22
Installing swak4Foam to OpenFOAM in mac Kaquesang OpenFOAM Installation on Windows, Mac and other Unsupported Platforms 22 January 21, 2013 12:51
Wall functions Abhijit Tilak Main CFD Forum 6 February 5, 1999 02:16


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