Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--> FOAM FATAL ERROR: NO_READ specified for read-constructor of object nuTilda of class IOobject #30

Open
lkampoli opened this issue Oct 15, 2021 · 4 comments

Comments

@lkampoli
Copy link

Hello, thank you very much for this work, it is very helpful.
I run through all the steps successfully, then I execute simpleFoam_ML from the Testing directory and I obtain this fatal error (attached).
May you have some hint?

--> FOAM FATAL ERROR:
NO_READ specified for read-constructor of object nuTilda of class IOobject
error.log

Kind regards,
Lorenzo

@Romit-Maulik
Copy link
Member

Hi Lorenzo - I see that you are using Version: v1706 - I have not tested this repo with it. Have you isolated the error within the new turbulence model class? Which line does it crash?

@lkampoli
Copy link
Author

Hello, indeed, I confirm that by running with OF-5 I successfully completed the simulations without encountering any problem. Anyway, it is interesting to understand why OF-v1706 fails. I will investigate further ...

@lkampoli lkampoli reopened this Oct 21, 2021
@lkampoli
Copy link
Author

Hello, sorry I reopened this issue just for an update.
I noticed that by using READ_IF_PRESENT instead of NO_READ as below in /OF_Model/ML_SA_CG.C the simulation runs also on OF-v1706. Now I'm wondering whether this would alter the computation ... is it still using TF prediction?
Thank you
`
nuTilda_
(
IOobject
(
"nuTilda",
this->runTime_.timeName(),
this->mesh_,
IOobject::READ_IF_PRESENT, //NO_READ,
IOobject::NO_WRITE
),
this->mesh_
),

`

@Romit-Maulik
Copy link
Member

Wow @lkampoli ! Great catch. No - this should not affect the prediction because the SA model (which computes nuTilda) is switched off here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants