|
[Sponsors] |
November 17, 2014, 03:30 |
define UDS with time term in steady solver
|
#1 |
New Member
Jenna
Join Date: Oct 2013
Posts: 1
Rep Power: 0 |
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 |
|
Tags |
steady state, time uds_unsteady, uds |
|
|
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 |