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

Problems with CEL (guess it's simple to solve)

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 16, 2017, 18:38
Default
  #21
New Member
 
Join Date: Oct 2016
Posts: 12
Rep Power: 10
Pyotr is on a distinguished road
Hi everyone,


I have a similar question to the one made by Felipe on post #19.


I’d like to know if it is possible to get the value of a variable at iteration n, pass this value to an expression that would be constant for the next n iterations, and, at iteration 2*n, get the value of that same variable and pass again to the expression, and so on, until the value of the variable doesn’t change above a certain acceptable error, i.e., the value of the variable at iteration (a+1)*n be different from the value at iteration (a)*n in less than, say, 1%.


Is it possible to get this done using CEL?


Or is it only possible using user fortran? If so, does anybody have a fortran code that does a similar job, so I can use it as a guide? I’ve never used user fortran (just read the tutorial) and I have little experience with fortran programming, so any help is precious.


Thanks
Pyotr is offline   Reply With Quote

Old   March 26, 2019, 15:25
Default
  #22
New Member
 
Join Date: Oct 2018
Posts: 17
Rep Power: 8
NewToAnsys is on a distinguished road
In such a case, where one of the material properties of the domain is dependent on another variable (which has been added to the dependency list of the property in the RULES file), an analysis that normally could be run at steady state would have to be transient right? Since the material property of the domain is changing, at least initially?
NewToAnsys is offline   Reply With Quote

Old   March 26, 2019, 17:42
Default
  #23
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,841
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I have not looked at the discussion in this thread in detail, but I can say that convergence will be similar for steady state or transient. The fact the material property changes affects convergence regardless of whether it is SS or transient, but once made numerically stable you will be able to get SS and transient simulations to converge with it.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SIMPLE algorithm in 3D cylindrical coordinates zouchu Main CFD Forum 1 January 20, 2014 18:02
my simple stokes does not work Juergen Kertz Main CFD Forum 8 December 19, 2005 02:40
how cfd package helps to solve problems in I.C eng vivekanand Main CFD Forum 0 October 27, 2004 06:10
How to solve exactly Riemann problems? Matthew Xu Main CFD Forum 3 September 20, 2004 14:28
extremely simple problem... can you solve it properly? Mikhail Main CFD Forum 40 September 9, 1999 10:11


All times are GMT -4. The time now is 15:07.