|
[Sponsors] |
Custom boundary condition not working in parallel - gSum problem? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 5, 2014, 08:40 |
Custom boundary condition not working in parallel - gSum problem?
|
#1 |
Member
Petr Furmanek
Join Date: Jan 2012
Location: Faenza, Italy
Posts: 66
Rep Power: 14 |
Dear Foamers,
I've programmed a custom boundary condition which prescribes velocity according to pressure over patch. In the code I'm accessing all the fields in the following manner : const fvPatchField<scalar> & pp = patch().lookupPatchField<volScalarField, scalar>(pName_); scalar patchArea = gSum(patch().magSf()); avgP = gSum(patch().magSf()*pp)/patchArea; However, if I run the computation in parallel, it blows up in the first iteration (pressure values are nan). Do you have any idea, what might be the cause of these problems? Thanks... |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with assigned inlet velocity profile as a boundary condition | Ozgur_ | FLUENT | 5 | August 25, 2015 05:58 |
Problem with "symmetryPlanne" boundary condition | fcuevas | OpenFOAM Running, Solving & CFD | 1 | March 14, 2012 06:07 |
External Radiation Boundary Condition (Two sided wall), Grid Interface | CFD XUE | FLUENT | 0 | July 8, 2010 07:49 |
Periodic flow boundary condition problem | sudha | FLUENT | 3 | April 28, 2004 09:40 |
a problem with Boundary condition | M Rad | Main CFD Forum | 12 | November 27, 1998 13:49 |