Find answers, ask questions, and connect with our <br>community around the world.

Home Forums OpenFOAM Forum simulation stop

• # simulation stop

Posted by on April 11, 2023 at 5:22 am

I am running one simulation on remote control aircraft. it run correctly.

now I want to change the angle of Attack. I made change on 0/U folder according vector resolve.

I have given 5, 10, 15, 18, AoA. all run correctly except 10 AoA. it gives following error.

Time = 293

smoothSolver: Solving for Ux, Initial residual = 0.000323066, Final residual = 2.4836e-05, No Iterations 3
smoothSolver: Solving for Uy, Initial residual = 0.000940634, Final residual = 7.07652e-05, No Iterations 5
smoothSolver: Solving for Uz, Initial residual = 0.000911223, Final residual = 8.8685e-05, No Iterations 3
GAMG: Solving for p, Initial residual = 0.00210406, Final residual = 7.06848e-05, No Iterations 2
time step continuity errors : sum local = 0.000521416, global = -5.96229e-06, cumulative = -0.00549229
smoothSolver: Solving for omega, Initial residual = 6.78732e-06, Final residual = 9.8054e-07, No Iterations 1
bounding omega, min: -174.148 max: 1.62995e+06 average: 8178.8
smoothSolver: Solving for k, Initial residual = 0.000164545, Final residual = 9.87781e-06, No Iterations 2
ExecutionTime = 7263.25 s ClockTime = 7264 s

forces forces write:
sum of forces:
pressure : (43.0617 0.735734 675.54)
viscous : (9.7929 -0.00517609 0.20923)
porous : (0 0 0)
sum of moments:
pressure : (0.500589 -43.825 0.0149578)
viscous : (0.00275028 1.09442 0.00393014)
porous : (0 0 0)

Time = 294

smoothSolver: Solving for Ux, Initial residual = 0.000319804, Final residual = 2.47294e-05, No Iterations 3
smoothSolver: Solving for Uy, Initial residual = 0.000939972, Final residual = 7.09426e-05, No Iterations 5
smoothSolver: Solving for Uz, Initial residual = 0.000902016, Final residual = 8.76243e-05, No Iterations 3

job aborted:
[ranks] message

[0] process exited without calling finalize

[1-3] terminated

—- error analysis —–

[0] on UNLRNDMAIN
simpleFoam ended prematurely and may have crashed. exit code 3

—- error analysis —–

replied 1 year ago 2 Members · 14 Replies
• 14 Replies
• ### BarÄ±ÅŸ Bicer

Moderator
April 11, 2023 at 9:37 pm

Hi,

Your turbulence parameters diverges. I think that this AoA is a transition for separation if your simulation does not diverge for other AoA which is higher than 10.

which solver do you use? Can you use AoA=5 results as initial for AoA =10 and then run and try.

• ### Srinivas

Member
April 12, 2023 at 5:54 am

I am using simpleFoam as solver

turbulenceProperties;- lomega sst

I will try to use the result of 5 AoA as initial condition for 10 AoA. and will let you know

• ### Srinivas

Member
April 12, 2023 at 11:26 am

I have run the command “mapFields ../5AoAÂ  -sourceTime latestTime -consistent”

it gives following error

ime = 98

smoothSolver: Solving for Ux, Initial residual = 0.842805, Final residual = 0.0793087, No Iterations 104
smoothSolver: Solving for Uy, Initial residual = 0.728607, Final residual = 0.0657486, No Iterations 111
smoothSolver: Solving for Uz, Initial residual = 0.842447, Final residual = 0.0795563, No Iterations 116
GAMG: Solving for p, Initial residual = 1, Final residual = 14265.1, No Iterations 1000
time step continuity errors : sum local = 3.71941e+30, global = 5.92556e+27, cumulative = 5.92556e+27
smoothSolver: Solving for omega, Initial residual = 0.329829, Final residual = 0.0164249, No Iterations 1
smoothSolver: Solving for k, Initial residual = 0.501587, Final residual = 7.07235e-06, No Iterations 2
ExecutionTime = 2804.74 s ClockTime = 2805 s

forces forces write:
sum of forces:
pressure : (-4.01992e+42 -4.59464e+43 -1.23031e+44)
viscous : (3.83449e+30 -1.79686e+29 -3.13283e+31)
porous : (0 0 0)
sum of moments:
pressure : (2.7376e+43 1.1313e+43 -5.11991e+42)
viscous : (-3.69454e+31 7.23072e+30 -4.56308e+30)
porous : (0 0 0)

Time = 99

[3]
[2]
[1]
[0]
Generating stack trace…
Generating stack trace…
Generating stack trace…
Generating stack trace…

[1]
[2]
[0]

Backtrace:
ZN10StackTraceC1Ev [0x626c1855+0x25]
module: C:\PROGRA~1\BLUECF~1\ThirdParty-8\platforms\mingw_w64GccDPInt32\lib\libstack_trace.dll
ZN4Foam5error10printStackERNS_7OstreamE [0x6c30ae5a+0x23a]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
ZN4Foam6sigFpe13sigFpeHandlerEi [0x6c30b693+0x33]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
(No symbol) [0x408282]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\simpleFoam.exe
_C_specific_handler [0x7ff863158068+0x98]
module: C:\Windows\System32\msvcrt.dll
0_chkstk [0x7ff86402477f+0x11f]
module: C:\Windows\SYSTEM32\ntdll.dll
RtlWalkFrameChain [0x7ff863f84bef+0x14bf]
module: C:\Windows\SYSTEM32\ntdll.dll
KiUserExceptionDispatcher [0x7ff8640234ee+0x2e]
module: C:\Windows\SYSTEM32\ntdll.dll
ZN4Foam22symGaussSeidelSmoother6smoothERKNS_4wordERNS_5FieldIdEERKNS_9lduMatrixERKS5_RKNS_10FieldFieldIS4_dEERKNS_8UPtrListIKNS_17lduInterfaceFieldEEEhi [0x6c1c17ed+0x2fd]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
ZNK4Foam22symGaussSeidelSmoother6smoothERNS_5FieldIdEERKS2_hi [0x6c1c1b9a+0x3a]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
ZNK4Foam12smoothSolver5solveERNS_5FieldIdEERKS2_h [0x6c1bd022+0x372]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
(No symbol) [0x42b2c4]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\simpleFoam.exe
(No symbol) [0x42ca30]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\simpleFoam.exe
(No symbol) [0x42cdcb]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\simpleFoam.exe
(No symbol) [0x44ee06]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\simpleFoam.exe
(No symbol) [0x4013c1]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\simpleFoam.exe
(No symbol) [0x4014f6]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\simpleFoam.exe
module: C:\Windows\System32\KERNEL32.DLL
module: C:\Windows\SYSTEM32\ntdll.dll

Backtrace:
ZN10StackTraceC1Ev [0x626c1855+0x25]
module: C:\PROGRA~1\BLUECF~1\ThirdParty-8\platforms\mingw_w64GccDPInt32\lib\libstack_trace.dll
ZN4Foam5error10printStackERNS_7OstreamE [0x6c30ae5a+0x23a]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
ZN4Foam6sigFpe13sigFpeHandlerEi [0x6c30b693+0x33]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
(No symbol) [0x408282]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\simpleFoam.exe
_C_specific_handler [0x7ff863158068+0x98]
module: C:\Windows\System32\msvcrt.dll
0_chkstk [0x7ff86402477f+0x11f]
module: C:\Windows\SYSTEM32\ntdll.dll
RtlWalkFrameChain [0x7ff863f84bef+0x14bf]
module: C:\Windows\SYSTEM32\ntdll.dll
KiUserExceptionDispatcher [0x7ff8640234ee+0x2e]
module: C:\Windows\SYSTEM32\ntdll.dll
ZN4Foam22symGaussSeidelSmoother6smoothERKNS_4wordERNS_5FieldIdEERKNS_9lduMatrixERKS5_RKNS_10FieldFieldIS4_dEERKNS_8UPtrListIKNS_17lduInterfaceFieldEEEhi [0x6c1c17ed+0x2fd]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
ZNK4Foam22symGaussSeidelSmoother6smoothERNS_5FieldIdEERKS2_hi [0x6c1c1b9a+0x3a]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
ZNK4Foam12smoothSolver5solveERNS_5FieldIdEERKS2_h [0x6c1bd022+0x372]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
(No symbol) [0x42b2c4]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\simpleFoam.exe
(No symbol) [0x42ca30]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\simpleFoam.exe
(No symbol) [0x42cdcb]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\simpleFoam.exe
(No symbol) [0x44ee06]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\simpleFoam.exe
(No symbol) [0x4013c1]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\simpleFoam.exe
(No symbol) [0x4014f6]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\simpleFoam.exe
module: C:\Windows\System32\KERNEL32.DLL
module: C:\Windows\SYSTEM32\ntdll.dll

Backtrace:
ZN10StackTraceC1Ev [0x626c1855+0x25]
module: C:\PROGRA~1\BLUECF~1\ThirdParty-8\platforms\mingw_w64GccDPInt32\lib\libstack_trace.dll
ZN4Foam5error10printStackERNS_7OstreamE [0x6c30ae5a+0x23a]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
ZN4Foam6sigFpe13sigFpeHandlerEi [0x6c30b693+0x33]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
(No symbol) [0x408282]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\simpleFoam.exe
_C_specific_handler [0x7ff863158068+0x98]
module: C:\Windows\System32\msvcrt.dll
0_chkstk [0x7ff86402477f+0x11f]
module: C:\Windows\SYSTEM32\ntdll.dll
RtlWalkFrameChain [0x7ff863f84bef+0x14bf]
module: C:\Windows\SYSTEM32\ntdll.dll
KiUserExceptionDispatcher [0x7ff8640234ee+0x2e]
module: C:\Windows\SYSTEM32\ntdll.dll
ZN4Foam22symGaussSeidelSmoother6smoothERKNS_4wordERNS_5FieldIdEERKNS_9lduMatrixERKS5_RKNS_10FieldFieldIS4_dEERKNS_8UPtrListIKNS_17lduInterfaceFieldEEEhi [0x6c1c17ed+0x2fd]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
ZNK4Foam22symGaussSeidelSmoother6smoothERNS_5FieldIdEERKS2_hi [0x6c1c1b9a+0x3a]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
ZNK4Foam12smoothSolver5solveERNS_5FieldIdEERKS2_h [0x6c1bd022+0x372]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
(No symbol) [0x42b2c4]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\simpleFoam.exe
(No symbol) [0x42ca30]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\simpleFoam.exe
(No symbol) [0x42cdcb]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\simpleFoam.exe
(No symbol) [0x44ee06]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\simpleFoam.exe
(No symbol) [0x4013c1]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\simpleFoam.exe
(No symbol) [0x4014f6]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\simpleFoam.exe
module: C:\Windows\System32\KERNEL32.DLL
module: C:\Windows\SYSTEM32\ntdll.dll
[3]

Backtrace:
ZN10StackTraceC1Ev [0x626c1855+0x25]
module: C:\PROGRA~1\BLUECF~1\ThirdParty-8\platforms\mingw_w64GccDPInt32\lib\libstack_trace.dll
ZN4Foam5error10printStackERNS_7OstreamE [0x6c30ae5a+0x23a]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
ZN4Foam6sigFpe13sigFpeHandlerEi [0x6c30b693+0x33]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
(No symbol) [0x408282]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\simpleFoam.exe
_C_specific_handler [0x7ff863158068+0x98]
module: C:\Windows\System32\msvcrt.dll
0_chkstk [0x7ff86402477f+0x11f]
module: C:\Windows\SYSTEM32\ntdll.dll
RtlWalkFrameChain [0x7ff863f84bef+0x14bf]
module: C:\Windows\SYSTEM32\ntdll.dll
KiUserExceptionDispatcher [0x7ff8640234ee+0x2e]
module: C:\Windows\SYSTEM32\ntdll.dll
ZN4Foam22symGaussSeidelSmoother6smoothERKNS_4wordERNS_5FieldIdEERKNS_9lduMatrixERKS5_RKNS_10FieldFieldIS4_dEERKNS_8UPtrListIKNS_17lduInterfaceFieldEEEhi [0x6c1c17ed+0x2fd]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
ZNK4Foam22symGaussSeidelSmoother6smoothERNS_5FieldIdEERKS2_hi [0x6c1c1b9a+0x3a]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
ZNK4Foam12smoothSolver5solveERNS_5FieldIdEERKS2_h [0x6c1bd022+0x372]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
(No symbol) [0x42b2c4]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\simpleFoam.exe
(No symbol) [0x42ca30]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\simpleFoam.exe
(No symbol) [0x42cdcb]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\simpleFoam.exe
(No symbol) [0x44ee06]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\simpleFoam.exe
(No symbol) [0x4013c1]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\simpleFoam.exe
(No symbol) [0x4014f6]
module: C:\PROGRA~1\BLUECF~1\OpenFOAM-8\platforms\mingw_w64GccDPInt32Opt\bin\simpleFoam.exe
module: C:\Windows\System32\KERNEL32.DLL
module: C:\Windows\SYSTEM32\ntdll.dll

job aborted:
[ranks] message

[0] terminated

[1-3] process exited without calling finalize

—- error analysis —–

[1-3] on UNLRNDMAIN
simpleFoam ended prematurely and may have crashed. exit code 3

—- error analysis —–

• ### BarÄ±ÅŸ Bicer

Moderator
April 12, 2023 at 9:16 pm

Hi Srinivas,

I didnt understand why do try to map the results of AoA=5. Just take the final time step of AoA=5 folder. (lets say it is 1000/) rename it as 0 and open U file under of it and change the velocity as AoA=10 and then run again.

Thats all

• ### Srinivas

Member
April 14, 2023 at 6:15 am

As you said I have copy the 1000 and past in my 10 AoA and rename it 0 and change the AoA.

and IÂ  give decomposePar command. but gives following error.

• ### Srinivas

Member
April 14, 2023 at 6:21 am

when I give the mapfield command it run successfully. but when i try to reconstruct the results it give the following error. I haver took the screenshot of the error.

• ### BarÄ±ÅŸ Bicer

Moderator
April 14, 2023 at 7:46 am

What kind of sub-folders are available under 0 folder that you copied from the last output of A0A=5. let me see the folders under of it

• ### Srinivas

Member
April 14, 2023 at 6:22 am

• ### Srinivas

Member
April 14, 2023 at 6:23 am

If you see the some unknown words are create in file.

• ### Srinivas

Member
April 14, 2023 at 6:34 am

How to remove this Error.

• ### BarÄ±ÅŸ Bicer

Moderator
April 14, 2023 at 7:48 am

dont mix please mapFields with the using last time step of AoA 5 manually. lets go step by step.

• ### Srinivas

Member
April 17, 2023 at 9:13 am

• ### Srinivas

Member
April 17, 2023 at 9:14 am

• ### BarÄ±ÅŸ Bicer

Moderator
April 17, 2023 at 10:40 pm

ok first delete uniform folder and then open U file go to boundary and change the veloicty file at farfield or inlet for AoA= 10

Then run the case again