Pressure difference

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
xingjian
Posts: 55
Joined: Thu Apr 06, 2017 12:34 pm

Pressure difference

Post by xingjian »

Hello,

I want to add a turbine in an exhaust pipe to enhance its exhaust performance, do not need to simulate a real turbine, because there is a the pressure difference, so how can achieve a pressure difference in CS?

Best Regards

XING Jian
Yvan Fournier
Posts: 4075
Joined: Mon Feb 20, 2012 3:25 pm

Re: Pressure difference

Post by Yvan Fournier »

Hello,

You can use a momentum source term, adjusted using a feedback from previous time steps to obtain the desired pressure difference in the turbine.

Regards,

Yvan
xingjian
Posts: 55
Joined: Thu Apr 06, 2017 12:34 pm

Re: Pressure difference

Post by xingjian »

Hello Yvan,

Could you please explain more in detail, by using which function?

Thanks very much

Best Regards

XING Jian
Yvan Fournier
Posts: 4075
Joined: Mon Feb 20, 2012 3:25 pm

Re: Pressure difference

Post by Yvan Fournier »

Hello,

You can check for head source term examples in the Doxygen user documentation. You can use "ustsnv", defined in cs_user_source_terms.f90.

For measurement of pressure difference, a clean solution may be to use the head losses measurement functions (also described under Doxygen), or for starts, compare pressure at two different points (or average pressure integrated on two planes or boxes).

Regards,

Yvan
xingjian
Posts: 55
Joined: Thu Apr 06, 2017 12:34 pm

Re: Pressure difference

Post by xingjian »

Hello Yvan,

I do not want to change the subroutine, if i just use the GUI, can I achieve this function?

Thank you very much

Best Regards

XING Jian
Yvan Fournier
Posts: 4075
Joined: Mon Feb 20, 2012 3:25 pm

Re: Pressure difference

Post by Yvan Fournier »

Hello,

Using the GUI, you might be able to do something similar using thr "fans" functionnality (which adds a source term given a fan characteristic curve).

Best regards,

Yvan
Post Reply