|
[Sponsors] |
Problems with CEL (guess it's simple to solve) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 16, 2017, 18:38 |
|
#21 |
New Member
Join Date: Oct 2016
Posts: 12
Rep Power: 10 |
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 |
|
March 26, 2019, 15:25 |
|
#22 |
New Member
Join Date: Oct 2018
Posts: 17
Rep Power: 8 |
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?
|
|
March 26, 2019, 17:42 |
|
#23 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
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. |
|
|
|
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 |