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: pakk
Forum: Fluent UDF and Scheme Programming October 26, 2016, 09:19
Replies: 9
Views: 1,437
Posted By pakk
In general: debug in serial mode, not in...

In general: debug in serial mode, not in parallel. In parallel, you will get MPI-warnings that are not so meaningful, in serial you have a bigger chance of seeing something useful.

More specific:...
Forum: Fluent UDF and Scheme Programming September 13, 2016, 04:50
Replies: 9
Views: 1,437
Posted By pakk
Segmentation faults really suggest that your...

Segmentation faults really suggest that your arrays are not big enough. They should be at least the following size:

float xCor[WIDTH];
float yCor[HEIGHT];
int numArray[TIMESTEP][HEIGHT][WIDTH];...
Forum: Fluent UDF and Scheme Programming September 9, 2016, 11:03
Replies: 9
Views: 1,437
Posted By pakk
I can ignore it, but the compiler will not ignore...

I can ignore it, but the compiler will not ignore it.
This is not the correct way to use comments: you should use /* this style */. The style with two //-es is not proper c-style, although many...
Forum: Fluent UDF and Scheme Programming September 9, 2016, 07:38
Replies: 9
Views: 1,437
Posted By pakk
You are doing parallel, it would help to first...

You are doing parallel, it would help to first try it in serial mode.


What is codeblocks?

Nowhere in your code you define what numArray, xCor or yCor are. I can infer that they are arrays,...
Showing results 1 to 4 of 4

 
Forum Jump

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