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

Cel expressions Time dependent

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 4, 2007, 12:28
Default Cel expressions Time dependent
  #1
Juan Maria Campos
Guest
 
Posts: n/a
Hi everybody,

I want to create a variable through a CEL Expression dependent of the value of this variable at the former timestep.

How can I make it?

thanks in advance
  Reply With Quote

Old   December 6, 2007, 10:30
Default Re: Cel expressions Time dependent
  #2
mac
Guest
 
Posts: n/a
Hi You've fixed or variable timestep
  Reply With Quote

Old   December 7, 2007, 04:24
Default Re: Cel expressions Time dependent
  #3
Juan Maria Campos
Guest
 
Posts: n/a
I have fixed timestep

  Reply With Quote

Old   December 7, 2007, 10:12
Default Re: Cel expressions Time dependent
  #4
mac
Guest
 
Posts: n/a
It's seem to be simple but I don't know what do you want to do with this variable. Can u explain more thx
  Reply With Quote

Old   December 10, 2007, 09:20
Default Re: Cel expressions Time dependent
  #5
Rogerio Fernandes Brito
Guest
 
Posts: n/a
I have the same problem. I wanna put a heat flux, in [W/m^2] as a boundary condition (BC) that varying with the time "t", in [s], using the CEL expressions. At the CFX v5.6, the BC of heat flux must have the same unity, as [W/m^2].

If my heat flux varies with the time as, for example:

q(t)=t^2+3*t-4 with q in [W/m^2] and t (time, not T of temperature) in [s].

My doubt: How to transform the expression 't^2+3*t-4' from [s] to [W/m^2]?

I can´t use a heat flux as a BC in [s]. Only in [W/m^2].

Rogerio.

  Reply With Quote

Old   December 12, 2007, 03:16
Default Re: Cel expressions Time dependent
  #6
mac
Guest
 
Posts: n/a
Hello Rogerio to do these operation you've to use fortran subroutine best regards
  Reply With Quote

Old   December 12, 2007, 09:13
Default Re: Cel expressions Time dependent
  #7
Rogerio Fernandes Brito
Guest
 
Posts: n/a
How?
  Reply With Quote

Old   December 27, 2007, 06:54
Default Re: Cel expressions Time dependent
  #8
Rafael Brandao
Guest
 
Posts: n/a
Rogerio, I think you may try to divide t by the unit (1 [s]) and turn it into an adimensional expression. Then you multiply the result by the new unit.

Your expression then becomes

q(t)=((t/1 [s])^2+3*(t/1 [s])-4)*1 [W/m^-2]

Hope it helped.
  Reply With Quote

Old   December 27, 2007, 19:16
Default Re: Cel expressions Time dependent
  #9
Rogerio Fernandes Brito
Guest
 
Posts: n/a
This way, I think it´s better (on CFX-v5.6 version):

Expression Editor

Expressions

Name Definition

AA 1.0 s

BB 1.0 W m^-2

HeatFlu BB*(t/AA)^2+3*(t/AA)^4

Please, see page 123 from CFX-5 Tutorials.

I´d like to thank for helping me.

Rogério Fernandes Brito.

  Reply With Quote

Reply


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
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36
directMapped problem panda60 OpenFOAM Bugs 4 July 8, 2010 11:23
Time Dependent Temperature Dependent BC Analysis RP Main CFD Forum 1 March 28, 2008 02:22
Time dependent gate opening krish FLUENT 0 June 17, 2007 02:17
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 19:07


All times are GMT -4. The time now is 09:33.