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

Interpolate solution onto only some target domains

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 15, 2016, 08:29
Default Interpolate solution onto only some target domains
  #1
New Member
 
Brian
Join Date: Mar 2009
Posts: 17
Rep Power: 17
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, 08:47
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 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, 09:27
Default
  #3
New Member
 
Brian
Join Date: Mar 2009
Posts: 17
Rep Power: 17
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: 17
Rep Power: 17
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


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
Converging the solution aja1345 FLUENT 13 June 15, 2022 00:46
[waves2Foam] Waves2Foam Related Topics ngj OpenFOAM Community Contributions 660 August 20, 2018 13:39
grid dependancy gueynard a. Main CFD Forum 19 June 27, 2014 22:22
[swak4Foam] Installing swak4Foam to OpenFOAM in mac Kaquesang OpenFOAM Community Contributions 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 18:52.