Page 1 of 1

No way to set a valid temperature profile for Lagrangian boundary zone

Posted: Mon Apr 19, 2021 8:30 pm
by nikitin-pro
Saturne 6.0 from Ubuntu 20.04 repositories.
For a homogeneous Eulerian VoF flow with droplet evaporation (by Merkel model) I'm trying to set Lagrangian BC's. Namely spray inlet and have some problems:
(1) By default there are 10 zones, that hold even if I set them to unity. I solved it by eliminating redundant sets one-by-one.
(2) Fluid temperature and density in GUI are being cleared out after each run, although being saved in XML.

As a result, I suppose I got the following problem:
(3) cs_lagr_injection.c:369: Fatal error. Lagrangian boundary zone 3, set 0 temperature profile value (0) is invalid.

This error holds even when I set this BC with custom subroutine.

Re: No way to set a valid temperature profile for Lagrangian boundary zone

Posted: Mon Apr 19, 2021 11:47 pm
by Yvan Fournier
Hello,

It seems there was both a GUI bug and a bug in the Lagrangian injection with fluid temperature profile (this combination is missed by the coverage in the validation test suite, and seems not to have been used much recently as you are the first to report the issue).

The fix will be in v6.0.7 (to be released in a few weeks at most), and in the Git repository tomorrow. I also attach a patch or the corrected files here.

With the fix, I get another error at the second time step, but this seems related to the Eulerian BC's which might be tricky with the Merkle model (with which I am not too familiar).

Best regards,

Yvan

Re: No way to set a valid temperature profile for Lagrangian boundary zone

Posted: Tue Apr 20, 2021 7:52 am
by nikitin-pro
thanks!!