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

Volume fraction time derivative Cel expression

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 16, 2018, 10:17
Default Volume fraction time derivative Cel expression
  #1
Member
 
cfxtwophaseflow
Join Date: Aug 2017
Posts: 46
Rep Power: 8
sarrazs is on a distinguished road
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.
sarrazs is offline   Reply With Quote

Old   January 16, 2018, 15:19
Default
  #2
Member
 
cfxtwophaseflow
Join Date: Aug 2017
Posts: 46
Rep Power: 8
sarrazs is on a distinguished road
Problem Solved
sarrazs is offline   Reply With Quote

Old   January 16, 2018, 18:07
Default
  #3
Senior Member
 
Join Date: Jun 2009
Posts: 1,815
Rep Power: 32
Opaque will become famous soon enough
and the solution was ?
Opaque is offline   Reply With Quote

Old   January 17, 2018, 11:58
Default
  #4
Member
 
cfxtwophaseflow
Join Date: Aug 2017
Posts: 46
Rep Power: 8
sarrazs is on a distinguished road
Quote:
Originally Posted by Opaque View Post
and the solution was ?
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
sarrazs 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
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


All times are GMT -4. The time now is 10:37.