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

define UDS with time term in steady solver

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 17, 2014, 03:30
Default define UDS with time term in steady solver
  #1
New Member
 
Jenna
Join Date: Oct 2013
Posts: 1
Rep Power: 0
yjj13 is on a distinguished road
HI, guys.
I want to solve this UDS in fluent.
dHL/dt=source_term
Is it possible for me to solve this equation in a steady solution?
My case is a steady case.
Is the following UDF right for my case?
#include "udf.h"
DEFINE_UDS_UNSTEADY(HI_uds_unsteady, c,t,i,apu,su) /
{
real physical_dt,phi_old;
physical_dt = 0.01;
*apu = -1./ physical_dt;
phi_old = C_STORAGE_R(c,t,SV_UDSI_M1(i));
*su = phi_old/physical_dt;

}


thanks a lot
yjj13 is offline   Reply With Quote

Reply

Tags
steady state, time uds_unsteady, uds


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
AMI speed performance danny123 OpenFOAM 21 October 24, 2020 05:13
High Courant Number @ icoFoam Artex85 OpenFOAM Running, Solving & CFD 11 February 16, 2017 14:40
[solidMechanics] solidMechanics gear contact in rotation nlc OpenFOAM CC Toolkits for Fluid-Structure Interaction 3 January 11, 2015 07:41
plot over time fferroni OpenFOAM Post-Processing 7 June 8, 2012 08:56
lid-driven cavity in matlab using BiCGStab Don456 Main CFD Forum 1 January 19, 2012 16:00


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