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

Buoyancy convergence - Increase gravity vector using CEL (aitern)

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   November 20, 2017, 11:16
Default Buoyancy convergence - Increase gravity vector using CEL (aitern)
  #1
New Member
 
Nicolas Neuburger
Join Date: Jun 2016
Posts: 3
Rep Power: 9
TwoShaft is on a distinguished road
Hello,

i have a problem with a setup that comprises 2 domains:

Hot air flowing through an insulated pipe (Domain 1)
The pipe is cooled by natural convection (Domain 2)

Due to complex geometry around the pipe, i get non-realistic velocities (> Mach 800) in the natural convection domain after 10-15 solver iterations.

To improve convergence I would therefore like to apply the gravitational force in small steps using CEL (so i wouldn't have to do it by hand and can run the simulation overnight):

NCzapplied = -.981*(1+(1-step(Iter-aitern))+(1-step(2*Iter-aitern))+(1-step(3*Iter-aitern))+(1-step(4*Iter-aitern))+(1-step(5*Iter-aitern))+(1-step(6*Iter-aitern))+(1-step(7*Iter-aitern))+(1-step(8*Iter-aitern))+(1-step(9*Iter-aitern)))

Iter is a constant of 50, so the gravitational vector increases from -.981 m s^-2 in 9 steps to -9.81 m s^-2 over 450 solver iterations and then remains constant. CFX can plot the expressions just fine.

My problem is now, I am getting the following Expression Error and I'm not sure wheter this is intended to be unavailable for the buoyancy model (and why?) or whether I am doing something wrong:

Parameter 'Gravity Z Component' in object '/FLOW:Flow Analysis 1/DOMAIN:Air/DOMAIN MODELS/BUOYANCY MODEL' has been assigned an expression that references the following unavailable variables: aitern

Any help would be much appreciated!
TwoShaft is offline   Reply With Quote

 

Tags
buoyancy stepwise cel


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
Ok to increase gravity gradually from 0 to 9.82? Admo FLUENT 3 February 23, 2012 10:43
tips to speedup the convergence of CHT problem with gravity derisala FLUENT 1 February 24, 2011 02:28
(chtMultiRegionFoam) reducing gravity increase the simulation time ! openfoam1 OpenFOAM 7 March 10, 2010 09:41
Convergence of CFX field in FSI analysis nasdak CFX 2 June 29, 2009 01:17
structured grid and/or increase convergence rate Ashish Pande FLUENT 0 May 12, 2006 03:36


All times are GMT -4. The time now is 08:16.