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

UDS UNSTEADY

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 27, 2005, 13: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

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
unsteady UDS PriyankaJoshi FLUENT 7 December 13, 2012 01: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 11:06
UDS Flux Function Choice Yang Chung FLUENT 0 August 10, 2008 06:57
about unsteady uds term Frank FLUENT 23 May 2, 2002 03:46


All times are GMT -4. The time now is 08:00.