reconstructPar super weird error
Hi guys.
I'm trying to reconstruct an interFoam simulation, but I'm getting a super strange error. If I run a plain reconstructPar, I get: Code:
--> FOAM FATAL ERROR: I noticed this happens when it tries to reconstruct p_rgh. Therefore, if, for instance, I run: Code:
reconstructPar -fields '(U alpha.water)' But if I try: Code:
reconstructPar -fields '(p_rgh)' Any idea what might be causing this? I'm using v1812. This problem does not happen on v7. But if I run interFoam on v1812 and reconstructPar on v7, the error persists. |
Can you test
reconstructPar -fields 'p_rgh' |
Thanks for the reply, HPE.
Quote:
Results in: Code:
--> FOAM FATAL IO ERROR: I think, the correct syntax is really the one I sent. |
Just for completeness, here is the full error message (including stack trace):
Code:
--> FOAM FATAL ERROR: |
reconstructPar -fields 'p_rgh'
has been working for my v1812 and v2006 setups, just tested them for "tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/hotRoom". But, your error might be related to one of the boundary conditions in "p_rgh", likely related to "Function1". Could you please share your boundary condition file for "p_rgh", if possible? Thank you. |
Quote:
Sure, here it is: Code:
/*--------------------------------*- C++ -*----------------------------------*\ Code:
/*--------------------------------*- C++ -*----------------------------------*\ |
Hi,
I have tested your setup with v1812, and v2006, and it did not produce any error with the command I have suggested. I had a second look at the error message you posted, and it seems the error belongs to OFv7, not v1812. Therefore, I suggest you to issue a bug ticket in the OpenFOAM.org issue tracker for which you can find a link below by attaching your case in your issue ticket, so that they can reproduce the error. |
Quote:
Thanks for the suggestion, HPE. The message is indeed from v7, but I get the same thing with v1812. (I'll post later on) One question, do you see anything wrong with the way I'm using the csv? I wondering if I'm doing something that is not allowed by v1812... |
"One question, do you see anything wrong with the way I'm using the csv?"
Not so far, but my mind is very tired. :) |
I'm now 100% sure that the problem is with v1812. Here are the results of some experiments.
Sadly I have to run my simulations on a cluster (big shout-out to the folks from NEMO hpc), and they only have v1812. So I'm f***. |
Here is the error raised by decomposePar v1812.
It seems to be related to reading the csv... Code:
--> FOAM FATAL ERROR: |
Hmm. If you get an error with v1812, and I don't get it with v1812, it only means that we have different instances of v1812. Sometimes, bug fixes are pushed to the previous versions as maintenance activities.
If you are working on a cluster, you can definitely compile your own version (e.g. v1812 or v2006) in your local area. Just consult the cluster maintainers, or the cluster wiki. I am sure that you can do that since I have been doing this for my entire life (in fact, I have never used the system-wide compilations of OpenFOAM in our supercomputer facilities). So, you are definitely not f.cked up, don't worry :). |
Dear HPE,
Thanks for your help all the way! Your last post was really an eye opener. I did exactly as you suggested, and it worked! I'm new to this cluster thing, therefore I had to research it a bit, but it was totally worth it. Thanks again. You saved my skin! |
All times are GMT -4. The time now is 08:36. |