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: flotus1
Forum: Fluent UDF and Scheme Programming July 13, 2012, 13:05
Replies: 9
Views: 2,025
Posted By flotus1
Here is a source UDF I currently use (stripped it...

Here is a source UDF I currently use (stripped it from everything but the coordinate thing):
Copy it and try to run it.

DEFINE_SOURCE(sourceterm,c,t,dS,eqn)
{
double x[ND_ND];
double...
Forum: Fluent UDF and Scheme Programming July 13, 2012, 10:53
Replies: 9
Views: 2,025
Posted By flotus1
Are you running in parallel? Normal UDFs do...

Are you running in parallel?

Normal UDFs do not work in parallel, but as far as I understood, they can be changed accordingly. Refer to the UDF manual.

For now, try running on 1 core only.
Forum: Fluent UDF and Scheme Programming July 13, 2012, 09:44
Replies: 9
Views: 2,025
Posted By flotus1
Are you 100% sure that there are cell centroids...

Are you 100% sure that there are cell centroids within the ranges you specified?
Remember that sources are applied on a "per-cell" basis.

For debugging purposes, try applying the source to a...
Forum: Fluent UDF and Scheme Programming July 13, 2012, 04:44
Replies: 9
Views: 2,025
Posted By flotus1
Because of numerical inaccuracies, you always...

Because of numerical inaccuracies, you always have to provide a small threshold for statements like "if (position != ..."
The position of the cells in your domain will never be -0.135608, but rather...
Showing results 1 to 4 of 4

 
Forum Jump

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