|
[Sponsors] |
August 25, 2014, 05:10 |
on the run flow-rate evaluation on a cluster
|
#1 |
New Member
Join Date: Aug 2014
Location: Bremen, Germany
Posts: 5
Rep Power: 12 |
Dear Foamers,
I've got a problem with coding a parallel calculation of the flow-rate which is to be evaluated on the run (not by integratePatchField). My overall purpose is the following: I want the flow-rate to influence the inlet boundary conditions of an internal flow. So far I've actually managed to evaluate the flow-rate, but it only works if I'm performing parallel calculations on my local machine or on one single node of a cluster. However if I try to run the very same calculation on a cluster distributed over several nodes, it always yields a zero flow-rate. So obviously the problem must have something to do with parallelisation or with mpi ... Finally here is the code, I added to the original icoFoam solver: // Declaration and Initialisation of Variables word outletPatchName = "OUTLET"; // search for label of the outlet patch by the name within the boundary dictionaryI'd be glad for any helpful comments. Waldemar |
|
August 25, 2014, 23:41 |
|
#2 |
Senior Member
Kyle Mooney
Join Date: Jul 2009
Location: San Francisco, CA USA
Posts: 323
Rep Power: 18 |
Hi Waldemar,
Try using Code:
gSum(...) Code:
sum(...) I hope that helps! Cheers, Kyle |
|
August 26, 2014, 04:04 |
|
#3 |
New Member
Join Date: Aug 2014
Location: Bremen, Germany
Posts: 5
Rep Power: 12 |
Hi Kyle,
it works fine. Thank you very much! |
|
August 26, 2014, 15:55 |
|
#4 |
Senior Member
Kyle Mooney
Join Date: Jul 2009
Location: San Francisco, CA USA
Posts: 323
Rep Power: 18 |
Excellent! Good to hear.
|
|
Tags |
clusters, flow-rate, programming |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Gate valve flow simulations... | nikesh | FloEFD, FloWorks & FloTHERM | 5 | January 28, 2014 02:31 |
How to define a fixed velocity for a given mass flow rate on inlet | mqasimali | FLUENT | 2 | April 12, 2013 18:24 |
Mass flow rate boundary condition for continuity equation for oscillating flow | p07ip705 | Main CFD Forum | 0 | February 28, 2013 02:33 |
target flow rate: varying results | Ryan | FLUENT | 3 | January 9, 2008 14:54 |
fluid flow fundas | ram | Main CFD Forum | 5 | June 17, 2000 22:31 |