Problem starting a transient simulation

A subforum specific to the development of the OpenFoam-based workbenches ( Cfd https://github.com/qingfengxia/Cfd and CfdOF https://github.com/jaheyns/CfdOF )

Moderator: oliveroxtoby

Post Reply
Budahn
Posts: 15
Joined: Fri Jul 01, 2022 9:56 pm

Problem starting a transient simulation

Post by Budahn »

Hello, ultimately im having this problem with almost all my simulations, i tried to make the simpliest sim possible but im still having error and i dont know why. Maybe is something in my computer, can you run this with normality guys?

25.5: OpenFOAM IO error: --> FOAM FATAL IO ERROR: OpenFOAM IO error: --> FOAM FATAL IO ERROR: OpenFOAM IO error: --> FOAM FATAL IO ERROR: OpenFOAM IO error: (openfoam- file:
25.6: Simulation exited with error

Code: Select all

16:00:26  [2] 
[0] 
[1] 
[3] 




[2] 
[0] 
[1] 
[3] 




[2] 
[0] 
[1] 
[3] 
--> FOAM FATAL IO ERROR: 
--> FOAM FATAL IO ERROR: 
--> FOAM FATAL IO ERROR: 
--> FOAM FATAL IO ERROR: 
(openfoam-
(openfoam-
(openfoam-
(openfoam-
2012
2012
2012
2012
)
)
)
)




[2] 
[0] 
[1] 
[3] 
Wrong token type - expected scalar value, found on line 0: word 'None'
Wrong token type - expected scalar value, found on line 33: word 'None'
Wrong token type - expected scalar value, found on line 0: word 'None'
Wrong token type - expected scalar value, found on line 0: word 'None'




[2] 
[0] 
[1] 
[3] 




[2] 
[0] 
[1] 
[3] 
file: 
file: 
file: 
file: 
IOstream.mixture.specie.molWeight
C:/Users/Ramiro/AppData/Local/Temp/case/constant/thermophysicalProperties.mixture.specie.molWeight
IOstream.mixture.specie.molWeight
IOstream.mixture.specie.molWeight
 at line 
 at line 
 at line 
 at line 
0
33
0
0
.
.
.
.




[2] 
[0] 
[1] 
[3] 




[2] 
[0] 
[1] 
[3] 
    From 
    From 
    From 
    From 
Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::doubleScalar&)
Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::doubleScalar&)
Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::doubleScalar&)
Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::doubleScalar&)




[2] 
[0] 
[1] 
[3] 
    in file 
    in file 
    in file 
    in file 
lnInclude/Scalar.C
lnInclude/Scalar.C
lnInclude/Scalar.C
lnInclude/Scalar.C
 at line 
 at line 
 at line 
 at line 
154
154
154
154
.
.
.
.




[2] 
[0] 
[1] 
[3] 

FOAM parallel run exiting

FOAM parallel run exiting

FOAM parallel run exiting

FOAM parallel run exiting
[2] 
[0] 
[1] 
[3] 




16:00:26  
job aborted:
[ranks] message

[0] application aborted
aborting MPI_COMM_WORLD (comm=0x44000000), error 1, comm rank 0

[1] application aborted
aborting MPI_COMM_WORLD (comm=0x44000000), error 1, comm rank 1

[2] application aborted
aborting MPI_COMM_WORLD (comm=0x44000000), error 1, comm rank 2

[3] application aborted
aborting MPI_COMM_WORLD (comm=0x44000000), error 1, comm rank 3

---- error analysis -----

[0-3] on DESKTOP-9LB0K9U
C:/Program Files/ESI-OpenCFD/OpenFOAM/v2012/msys64/home/ofuser/OpenFOAM/OpenFOAM-v2012/platforms/win64MingwDPInt32Opt/bin/buoyantPimpleFoam aborted the job. abort code 1

---- error analysis -----
16:00:26  
Attachments
ForumSimple.FCStd
(17.06 KiB) Downloaded 40 times
User avatar
Raedchen_im_System
Posts: 95
Joined: Sun Oct 27, 2019 5:22 pm
Location: In der Nähe von Stuttgart
Contact:

Re: Problem starting a transient simulation

Post by Raedchen_im_System »

@Budahn : Your simulation is everything but a "simple" simulation :shock: :
simulation_type.jpg
simulation_type.jpg (30.73 KiB) Viewed 642 times
A transient simulation with a compressible medium is quite difficult to handle.

If you are running a simulation with a compressible medium, I would recommend to use 1e5 Pa (= 100 MPa) as pressure for initializing the field and for the outlet. In your simulation, you are using 10 Pa on the inlet and on the outlet, and you specified a velocity of 2 m/s on the inlet and on the outlet. 1 boundary condition (speed) on the inlet and 1 boundary condition on the outlet (pressure) are enough. I would recommend to you to use 2 m/s on the inlet and define 0 Pa (no boundary condition) on the inlet. On the outlet, I would recommend a speed a 0 m/s (no boundary condition) and the static pressure of 1e5 Pa.

As far as I know, a potential flow is not feasible for a compressible flow. For this reason, I would recommend to define a speed of -2 m/s for initialising the simulation.

In case an error occurs, you should always press the "edit" button in the simulation menu. In the log file of the buyont-pimplefoam, you find that there was an error in line 33. The error is caused by the file "thermophysical properties" in the directory "constant":
thermophysica properties.jpg
thermophysica properties.jpg (25.24 KiB) Viewed 642 times
This error means that the mol weight was not defined. If you click one time on the check box "compressible" in the fluid properties and then click again, this error disappears and your simulation will run.
Last edited by Raedchen_im_System on Thu Mar 02, 2023 9:20 pm, edited 1 time in total.
Budahn
Posts: 15
Joined: Fri Jul 01, 2022 9:56 pm

Re: Problem starting a transient simulation

Post by Budahn »

Thank you so much, when i say a "simple" simulation i was trying to say that the geometry was simple :lol: thanks for your help :D
Post Reply