|
[Sponsors] |
OpenFOAM killing itself before even starting solution |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 6, 2021, 03:20 |
OpenFOAM killing itself before even starting solution
|
#1 |
New Member
Jason Bavosky
Join Date: Apr 2021
Location: Mumbai
Posts: 13
Rep Power: 5 |
Hello foamers,
Recently I considered using AWS for one of my simulations. I zipped my case directory, copied from my PC to the remote PC, and unzipped it. As soon as I start the simulation, it starts reading U file & KILLS itself. The case runs normally in my PC but KILLS itself on the AWS. Please have a look at the screenshot. The only difference is - my OpenFOAM version is 2006(.com version) & the remote AWS PC contains OpenFOAM V8(.org version).. PS - Even decomposePar wasn't working before. I copied decomposeParDict file from V8 motorbike tutorial to one of the case & then decomposePar worked! Has anyone faced such issues? Any solutions? Thanks |
|
May 8, 2021, 18:54 |
|
#2 |
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 748
Rep Power: 14 |
Is the data in the U file stored in binary or ASCII? If binary, then will may have problems if the hardware architecture of the 2 platforms (PC, AWS) is different ... write the data files out in ASCII (I seem to remember there is a utility for that?), transfer and then try again (you can switch back to binary writes once you have kicked off the simulations again).
|
|
May 10, 2021, 02:54 |
|
#3 |
New Member
Jason Bavosky
Join Date: Apr 2021
Location: Mumbai
Posts: 13
Rep Power: 5 |
Hello Tobermory,
It's a simple U file containing patches and BCs- which is default in ASCII version, right? I tried running the case on my friend's PC which had OpenFOAM V8 installed. And it did run! So version is not the culprit I guess. As far as the binary-ASCII type is concerned, I uploaded another 2D case from my PC, which also worked on AWS! So, if that was the issue, even the 2D case should not have run, right? Tell me what do you think? Also, I am not "very" familiar with ubuntu systems, I am still learning, so I would really appreciate if you shed more light on it or any utilities etc. Thanks |
|
May 10, 2021, 09:54 |
|
#4 | |
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 748
Rep Power: 14 |
Quote:
So your 2D example doesn't rule out binary incompatibility as an issue. Have a quick look at the 2D case boundary files - are they all ASCII? Now look at your full case example - are parts of the files in binary (eg the values appear garbled in a text editor)? Probably yes. The utility I was talking about is foamFormatConvert - that allows you to rewrite a binary file as ASCII, and can help when porting data from one machine type to another. The ASCII file will be big, ofc, so you probably want to gzip it before transferring across. |
||
Tags |
simulation crash, version 8 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Convergence | Centurion2011 | FLUENT | 48 | June 15, 2022 00:29 |
OpenFOAM killing itself before even starting solution | Jay22kar | OpenFOAM | 1 | May 6, 2021 04:19 |
big difference between clockTime and executionTime | LM4112 | OpenFOAM Running, Solving & CFD | 21 | February 15, 2019 04:05 |
Starting point for OpenFOAM | yesaswi92 | OpenFOAM | 2 | January 16, 2014 12:20 |
Parallel solution in OpenFOAM | makaveli_lcf | OpenFOAM Running, Solving & CFD | 0 | September 21, 2009 09:07 |