CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   ChannelFOAM like solver for RANS (https://www.cfd-online.com/Forums/openfoam-solving/115138-channelfoam-like-solver-rans.html)

turbfoam March 24, 2013 22:51

ChannelFOAM like solver for RANS
 
Hi all

Is there any solver like Channelflow (in LES) for RANS? I want to do something like channel395 case, with cyclic BC and constant mass flow rate , but in RANS.

The RANS pisoFoam solver does not have this 'Ubar' correction like ChannelFoam.C and Ubar is not in transportproperties, like channel395 tutorial has...how to give fixed mass flow rate for RANS problems then?

Please do suggest something...will be very helpful.

Thanks very much

J.T.

sam1364 April 25, 2013 20:16

Hi Sir,

I exactly have your problem. Did you find an answer for your question?

Thanks,
Pooyan

nimasam April 26, 2013 02:30

dear poyan

there are two options:

1- using pisoFoam with cyclic BC with pressure jump! ( you can find about it alot in forum)

2- customized solver based on your needs, it seems its not hard task and its straight forward.

sam1364 April 30, 2013 14:23

ok, thanks for your suggestions. Actually I am thinking of modifying channelFoam solver which is exactly like pisoFoam and it includes the driving source term dp/dx. So, I just need to go from LES Class to RANS class. But, since my geometry is not channelflow and the area is changing in streamwise direction, I want to enforce a certain bulk velocity at inlet and define dp/dx based on that. But, then I need to modify this line of the code

(flowDirection & U)().weightedAverage(mesh.V());

which gets the average of the velocity for the entire mesh volume. For my case, I need a surface average just at the inlet cyclic patch?

Do you know how I can modify the above line for that purpose?

Thanks,
Pooyan

Quote:

Originally Posted by nimasam (Post 423249)
dear poyan

there are two options:

1- using pisoFoam with cyclic BC with pressure jump! ( you can find about it alot in forum)

2- customized solver based on your needs, it seems its not hard task and its straight forward.



All times are GMT -4. The time now is 08:25.