|
[Sponsors] |
Different force result: DEFINE_Source UDF & without UDF |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 9, 2017, 15:29 |
Different force result: DEFINE_Source UDF & without UDF
|
#1 |
New Member
Join Date: Jun 2017
Posts: 6
Rep Power: 9 |
Hi
I want to see the effect of gravity acceleration. I see different result in these situations: 1.DEFINE_SOURCE UDF 2. Without UDF (by enabling gravity option in FLUENT) Gravity Force by UDF= 679596.5 Gravity Force without UDF= 658589 Any idea please! -------------------------------------------------------------- #include "udf.h" DEFINE_SOURCE(z_mom_source, cell, cell_thread, dS, eqn) { real source; real time=CURRENT_TIME; source = C_R(cell,cell_thread) *9.81; dS[eqn] = 0; return source; } -------------------------------------------------------------- |
|
November 11, 2017, 08:22 |
|
#2 |
New Member
Join Date: Jun 2017
Posts: 6
Rep Power: 9 |
This is strange!
please guide me |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ActuatorDiskExplicitForce in OF2.1. Help | be_inspired | OpenFOAM Programming & Development | 10 | September 14, 2018 12:12 |
Udf define a force (harmonic force) | rain821024 | Fluent UDF and Scheme Programming | 0 | October 26, 2016 12:48 |
WILLING TO PAY/ FREELANCER REQUIRED / small UDF coding force loads over body / 6DOF | acasas | CFD Freelancers | 1 | January 23, 2015 08:26 |
apply body force udf to just one injection | rima_se2003 | Fluent UDF and Scheme Programming | 0 | December 31, 2014 18:00 |
About body force in UDF | Yanlong Li | Fluent UDF and Scheme Programming | 0 | January 15, 2013 06:28 |