|
[Sponsors] |
March 24, 2013, 22:51 |
ChannelFOAM like solver for RANS
|
#1 |
New Member
j.t.
Join Date: Nov 2012
Posts: 11
Rep Power: 13 |
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. |
|
April 25, 2013, 20:16 |
|
#2 |
Member
pooyan
Join Date: Nov 2011
Posts: 62
Rep Power: 14 |
Hi Sir,
I exactly have your problem. Did you find an answer for your question? Thanks, Pooyan |
|
April 26, 2013, 02:30 |
|
#3 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24 |
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.
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
April 30, 2013, 14:23 |
|
#4 |
Member
pooyan
Join Date: Nov 2011
Posts: 62
Rep Power: 14 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
thobois class engineTopoChangerMesh error | Peter_600 | OpenFOAM | 4 | August 2, 2014 09:52 |
Interfoam blows on parallel run | danvica | OpenFOAM Running, Solving & CFD | 16 | December 22, 2012 02:09 |
Unexplained Error during Solver Runs | cfb | CFX | 6 | November 9, 2012 15:42 |
Strange residuals of the Density Based Solver | Pat84 | FLUENT | 0 | October 22, 2012 15:59 |
why the solver reject it? Anyone with experience? | bearcat | CFX | 6 | April 28, 2008 14:08 |