CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   User Fortran - stack overflow problem (https://www.cfd-online.com/Forums/cfx/126242-user-fortran-stack-overflow-problem.html)

D.ko November 12, 2013 02:38

User Fortran - stack overflow problem
 
when I apply User fortran(User Defined Function) to simple shape, it really works well.

However, when I tried to apply User Fortran to little complex shape(more mesh than simple shape), it makes problem.

Solver works well before it stopped. But when solver stop the calculation due to calculation converge or if I tried to stop the solver, then suddenly solver shows error message and did not show result. I debugged and saw the message 'stack overflow'.

i changed the stack reserve size in intel visual fortran but it did not work.

how can i change this situation.

please help me

ghorrocks November 12, 2013 04:00

What error exactly are you getting? Can you show the output file?

If you have insufficient stack space then make the stck bigger.
If you have overflow error look here: http://www.cfd-online.com/Wiki/Ansys...do_about_it.3F
Or do you have a different error?

D.ko November 12, 2013 05:56

it is stack problem.

actually solver does calculation before i stop it.

But, is i stop the solver than it cannot make output file and make error

and tell thet ''Solver-pcmpi does not operate".

after that, i debug and fine some message that stack overflow in intel fortran compiler.

so i search the that problem and find solution. so i changed the 'stack reserve size' in the intel fortran compiler. but it does not work.


All times are GMT -4. The time now is 16:19.