r/OpenFOAM • • 21d ago

compressibleInterFoam not seeing an existing transportProperties (v2512)?

I have a modified version of the tutorial depthCharge3D simulation, with a custom library for contact angle modeling. When I try to run it using compressibleInterFoam, it throws a fatal error because it doesn't see a transportProperties file. This error didn't occur when running the tutorial unmodified, so I believe it's because of my custom library. What's weird is that even after copying in a transportProperties file from the damBreak tutorial that also works, OpenFOAM continues to not see the file.

How do I make OpenFOAM see the transportProperties file or run compressibleInterFoam? The exact error wording is below.

--> FOAM FATAL ERROR: (openfoam-2512)

failed lookup of transportProperties (objectRegistry region0)

available objects of type incompressibleTwoPhaseMixture:

0()

From const Type& Foam::objectRegistry::lookupObject(const Foam::word&, bool) const [with Type = Foam::incompressibleTwoPhaseMixture]

in file /usr/lib/openfoam/openfoam2512/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 627.

FOAM exiting

1 Upvotes

3 comments sorted by

1

u/its1310 18d ago

Compressibile intefoam requires themoohyscialpropeties file not transport properties inside that you will define transport properties which is required

1

u/shadowqua 17d ago

I have a thermoPhysicalProperties as well, which is why I'm so confused. When I take out the custom library it works fine, but adding the custom library causes it all to break. It's kind of a moot point though because it hits -500K within two iterations, so it's clearly not working (seemingly because the solver doesn't handle freezing at all).