|
[Sponsors] |
Volume fraction time derivative Cel expression |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 16, 2018, 10:17 |
Volume fraction time derivative Cel expression
|
#1 |
Member
cfxtwophaseflow
Join Date: Aug 2017
Posts: 46
Rep Power: 8 |
Hi
I'm using a CEL expression for to add an expression for the Drag coefficient. The expression is : Cd1= coef*air.vf.Time Derivative. coef is a constant factor. I tried to define my expression as described or with an if condition : if( Time>Time Step Size, coef*air.vf.Time Derivative, 0) In both time I get this error : Error in subroutine GET_VAREL : Locale BELG3 with entity ICENTRE is illegal for time derivatives GETVAR originally called by subroutine cal_CAB_MOM I didn't find documentation on the use of the time derivative so If anyone can help me figure out how can I make it work. |
|
January 16, 2018, 15:19 |
|
#2 |
Member
cfxtwophaseflow
Join Date: Aug 2017
Posts: 46
Rep Power: 8 |
Problem Solved
|
|
January 16, 2018, 18:07 |
|
#3 |
Senior Member
Join Date: Jun 2009
Posts: 1,820
Rep Power: 32 |
and the solution was ?
|
|
January 17, 2018, 11:58 |
|
#4 |
Member
cfxtwophaseflow
Join Date: Aug 2017
Posts: 46
Rep Power: 8 |
I add an additional variable oldeps term with :
Update Loop = TRANS_LOOP than the time derivative is (air.vf-oldeps)/time step size I found the solution in this old post : derivative in CEL expressions But I still don't know how to use the time derivative function on the CEL expression |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
bash script for pseudo-parallel usage of reconstructPar | kwardle | OpenFOAM Post-Processing | 42 | May 7, 2024 23:17 |
courant number increases to rather large values | 6863523 | OpenFOAM Running, Solving & CFD | 22 | July 5, 2023 23:48 |
how to set periodic boundary conditions | Ganesh | FLUENT | 15 | November 18, 2020 06:09 |
Low Mixing time Problem | Mavier | CFX | 5 | April 29, 2013 00:00 |
Differences between serial and parallel runs | carsten | OpenFOAM Bugs | 11 | September 12, 2008 11:16 |