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

Source term in energy equation

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 7, 2006, 08:50
Default Source term in energy equation
  #1
macdidi
Guest
 
Posts: n/a
Hello I'm modelling heat transfer between fluid domain and solid. I've to add a souce term in energy equation of solid, This term depend on temperature, time and other variable. I do it using fortran subroutine. But I've this error message in Pre:

The variable 'T' referenced in parameter 'Source' in object '/FLOW/DOMAIN:Product/SUBDOMAIN:Subdomain 1/SOURCES/EQUATION SOURCE:energy' does not have one of the required prefixes: phase or particle.

PS: I define my solid as CHT
  Reply With Quote

Old   June 7, 2006, 09:00
Default Re: Source term in energy equation
  #2
opaque
Guest
 
Posts: n/a
Dear macdidi,

The preprocessor is being "picky" that it should.. Just add the prefix to the variable T.. For example, if your solid list includes Copper, just pass the Copper.T variable to your User Fortran.

If that works, please let everyone here knows.

Good luck,

Opaque..

  Reply With Quote

Old   June 7, 2006, 09:02
Default Re: Source term in energy equation
  #3
Joe
Guest
 
Posts: n/a
You need to disambiguate which phase the T refers too. I cant remember the exact syntax offhand but its something equivalent to: phase1.T rather than just T.
  Reply With Quote

Old   June 7, 2006, 10:58
Default Re: Source term in energy equation
  #4
macdidi
Guest
 
Posts: n/a
Thanks I try youre sugestion and now it's working Thanks a lot
  Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
swak4foam building problem GGerber OpenFOAM Installation 54 April 24, 2015 16:02
A source term in a vector equation CpCaniggia OpenFOAM Running, Solving & CFD 0 September 15, 2010 05:35
Bouyancy term in Energy equation CFDtoy Main CFD Forum 2 August 4, 2008 11:04
Mass transfer Term in Mixture Energy Equation CFDtoy Main CFD Forum 0 July 3, 2008 16:14
question about energy equation zhou FLUENT 0 February 24, 2004 00:55


All times are GMT -4. The time now is 06:54.