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

emergency

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 20, 2011, 06:18
Question emergency
  #1
Member
 
sajad
Join Date: Nov 2010
Posts: 51
Rep Power: 15
sajad_abasi is on a distinguished road
hi to all.
im simulationg a transient model.i want to change resistance of porous domain relative to mass flow in a manner that when massflow decraese the porous resistance also decrease.i defined an an "AV" in following form:
LIBRARY:
&replace ADDITIONAL VARIABLE: cvr
Option = Definition
Tensor Type = SCALAR
Units = [m^-1 ]
Update Loop = TRANS_LOOP
Variable Type = Specific
END
END
the initial value of cvr is 20000,but in the next iteration when i set the resistance of porous in porous domain by CEL expression "cvr" it assumes that resistance is near zero.it works with no error but give wrong results.
how can i use the value of "cvr" in passed time step for this time step?
thanks
sajad_abasi is offline   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
Emergency help for "Simulation of Wave Generation in a Tank" trantoan2008 ANSYS 0 May 24, 2011 07:07
Time dependence UDFs. Emergency phanh Fluent UDF and Scheme Programming 6 March 3, 2011 04:35
Help! Emergency!! Karman Vortex using ANSYS altomos ANSYS 15 December 6, 2010 02:02
EMERGENCY HELP ME NEGATIVE DENSITY IN ES-ICE emir aydar Siemens 3 October 12, 2007 15:21
interpret or compile an UDF (emergency) Lotfi FLUENT 1 August 26, 2007 12:58


All times are GMT -4. The time now is 18:59.