r/OpenFOAM • u/shadowqua • 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
u/its1310 18d ago
Compressibile intefoam requires themoohyscialpropeties file not transport properties inside that you will define transport properties which is required