settlingFoam fails with timeVarying conditions on U
Hello,
Bug settlingFoam fails when a timeVarying boundary condition is used for the U field, since Vdj inherits the boundaryField from U, leading the code to a segmentation fault when Vdj.correctBoundaryConditions(); is executed. Proposed solution I'm not sure why Vdj inherits the BC's from V, since it is computed explicitly. However a workaround could be to replace the declaration of Vdj in createFields.H with (I left the commented line). Code:
volVectorField Vdj |
The bug also exists for alpha BC, since Alpha inherits the boundaryField from alpha.
I tried a similar fix for this BC. Code:
volScalarField Alpha But I get the next error message when trying to run the case: Quote:
Code:
volScalarField Alpha It seems to work fine, but I had to manually calculate and create the Alpha bondaryField File in the 0 folder, and apply the timeVaryingUniformFixedValue to this BC instead of applying it to alpha. P.S.: Note the difference between alpha and Alpha. Alpha= alpha*rhod/rho |
All times are GMT -4. The time now is 21:06. |