unexpected call for rho in modified buoyantBoussinesqSimpleFoam
Hej,
I have slightly modified buoyantBoussinesqSimpleFoam in order to implement a different way of calculating the temperature equation Therefore the main file looks like this now Code:
Info<< "\nStarting time loop\n" << endl; Code:
SIMPLE: convergence criteria Code:
{ Does anybody know why and how the solver wants to look up rho? |
Hello Roman,
I am no expert in OpenFOAM and have not worked with "buoyantBoussinesqSimpleFoam" before, but I came across this error "request for volScalarField rho from objectRegistry region0 failed" when I modified interFoam to incorporate a new BC for dynamic contact angle. I don't know which part of the code is calling 'rho', but I guess because of your modifications it is being called and you don't have rho in the objectregistry. If that is the case all you need to do is add rho as volScalarField in createFields.H file. Since this is not a multi-phase flow rho is not a volScalarField, but it would be interesting to see if that will let your code overcome or figure out the source of this error. Hope this helps. Please let me know if this woks. Nikhil |
solution found
Hej,
I found the solution. It has to do with the boundary condition for pressure. The pressure boundary condition buoyantPressure calls rho therefore the boundary condition has to be given with the correct call for rho as in Code:
wall |
All times are GMT -4. The time now is 21:37. |