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

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: ComputerGuy
Forum: Fluent UDF and Scheme Programming January 25, 2012, 17:01
Replies: 19
Views: 7,824
Posted By ComputerGuy
No prob -- wish this could've worked. I'd simply...

No prob -- wish this could've worked. I'd simply ask them about applying a user-defined function to gravity, as we've tried to do. It's a case-independent problem. Up to v13, there's no hook to...
Forum: Fluent UDF and Scheme Programming January 25, 2012, 14:34
Replies: 19
Views: 7,824
Posted By ComputerGuy
OK, here's what I have so far #include...

OK, here's what I have so far


#include "udf.h"
DEFINE_SOURCE(gravity_source,c,t,dS,eqn)
{
real gravity;
real source;
gravity = -9.81;
source = gravity*C_R(c,t);
Forum: Fluent UDF and Scheme Programming January 24, 2012, 18:31
Replies: 19
Views: 7,824
Posted By ComputerGuy
No, I don't think so, otherwise it would not...

No, I don't think so, otherwise it would not "global"

ComputerGuy.

p.s. I will have a look at your problem a bit later and let you know how to get it to converge. What does your geometry look...
Forum: Fluent UDF and Scheme Programming January 24, 2012, 17:59
Replies: 19
Views: 7,824
Posted By ComputerGuy
Define source should loop over all cells for you...

Define source should loop over all cells for you (no need to program a loop); gravity can be defined globally with the M_gravity[0,1,or 2] term -- it is not a cell-by-cell value.

ComputerGuy.
Showing results 1 to 4 of 4

 
Forum Jump

All times are GMT -4. The time now is 11:42.