|
[Sponsors] |
November 12, 2013, 03:38 |
User Fortran - stack overflow problem
|
#1 |
New Member
DongGunKo
Join Date: Apr 2013
Posts: 13
Rep Power: 13 |
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 |
|
November 12, 2013, 05:00 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
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? |
|
November 12, 2013, 06:56 |
|
#3 |
New Member
DongGunKo
Join Date: Apr 2013
Posts: 13
Rep Power: 13 |
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. |
|
Tags |
stack violation, udf, user fortran |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Comparison between C/C++ and Fortran? | rick | Main CFD Forum | 45 | September 6, 2011 01:52 |
flow driven problem - fortran | Matjaz | CFX | 4 | April 11, 2011 14:52 |
Overflow problem in steady simulation | ReeKo | CFX | 11 | October 8, 2008 18:57 |
Fortran compiler problem | Luke | Siemens | 2 | September 18, 2008 04:43 |
Stack frame size, Origin 2000, fortran, a question. | Sergei Chernyshenko | Main CFD Forum | 4 | February 22, 1999 15:24 |