Page 1 of 1

Constant Diffusivity of scalar with drift flux in CS 5.0.4?

Posted: Tue Sep 12, 2017 4:37 pm
by jtache
Hello CS team!
I try to use the drift flux model in CS 5 (and CS4) without activating thermal model (I don't need thermophoresis).
I flagged the corresponding entries in cs_user_parameters.f90 file and I used cs_user_physical_propreties-scalar_drift.f90 (in SRC/EXAMPLES) for setting up my case but CS need a variable diffusivity for this scalar :

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ @@ ATTENTION : ARRET LORS DU CALCUL DES GRANDEURS PHYSIQUES
@ =========
@ DONNEES DE CALCUL INCOHERENTES
@
@ Pour le scalaire 1
@ la diffusivite est uniforme alors que
@ usphyv impose une diffusivite variable.
@
@ Le calcul ne sera pas execute.
@
@ Modifier usipsu ou usphyv.
@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

My question is following : is it possible to use scalar drift flux model with a constant scalar diffusivity?
Thanks a lot for your feedback.

Jeremie

Re: Constant Diffusivity of scalar with drift flux in CS 5.0

Posted: Wed Sep 20, 2017 2:14 pm
by jtache
Hello,
Is there anyone to give me an answer?
I passed some time to read sources and documentation, and I have the feeling that I can't use the drift flux model without activating 'energy' model in cs even if I don't use it (isothermal case).
Thanks for a reply.

Jeremie

Re: Constant Diffusivity of scalar with drift flux in CS 5.0

Posted: Wed Sep 20, 2017 4:17 pm
by Yvan Fournier
Hello Jeremie,

I'm not too sure about this. I'll check with Martin who worked on that part of the code, and keep you updated.

Best regards,

Yvan

Re: Constant Diffusivity of scalar with drift flux in CS 5.0

Posted: Mon Sep 25, 2017 7:57 am
by Martin FERRAND
Hello,
You can activate a variable diffusivity and give the same value for all the cells. We have to correct this combination.

Best regards

Martin

Re: Constant Diffusivity of scalar with drift flux in CS 5.0

Posted: Tue Sep 26, 2017 1:18 pm
by jtache
Dear Martin,
Thanks for your reply.
Should I also activate thermal model even if I don't use it?

Best Regards,
Jeremie

Re: Constant Diffusivity of scalar with drift flux in CS 5.0

Posted: Wed Sep 27, 2017 3:22 pm
by jtache
Ok, I finally get some results without activating thermal model with a constant diffusivity for scalar.
Thanks a lot for your help!

Jeremie