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

UDS UNSTEADY

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 27, 2005, 14:17
Default UDS UNSTEADY
  #1
Arvind Phate
Guest
 
Posts: n/a
Hi Friends,

Plz tell me how to define unsteady term for mass balance of solid(porous media (scalar is solid density)).I have tried with the uds below whether it is right or some problem is their plz guide me. DEFINE_UDS_UNSTEADY(uns_time_density, c, t, i, apu, su) { float physical_dt,vol,rho,phi_old;

if(!Data_Valid_P()) return 0.0; physical_dt = RP_Get_Real("physical-time-step"); vol = C_VOLUME(c,t); rho = C_R_M1(c,t); *apu = -rho*vol / physical_dt*1;/*implicit part*/ phi_old = C_STORAGE_R(c,t,SV_UDSI_M1(1)); *su = rho*vol*phi_old/physical_dt*1;/*explicit part*/ } when i am compiling it with other udf's all are working but the below mentioned error is being diplayed.anyway finally it is getting loaded too. warning C4098: 'uns_time_density' : 'void' function returning a value plz help me out............. thanks in advance

Arvind
  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
UDS Flux Function Choice Yang Chung FLUENT 1 November 17, 2015 02:14
unsteady UDS PriyankaJoshi FLUENT 7 December 13, 2012 02:27
Doubts UDS Flux, UDS Unsteady for VOF model kel85uk FLUENT 0 March 17, 2010 09:53
Error with the unsteady flamelet Model Christoph_84 FLUENT 0 February 25, 2010 12:06
about unsteady uds term Frank FLUENT 23 May 2, 2002 04:46


All times are GMT -4. The time now is 12:39.