CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (https://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   OscillatingFixedValueFvPatchField BC in parallel (https://www.cfd-online.com/Forums/openfoam-bugs/62329-oscillatingfixedvaluefvpatchfield-bc-parallel.html)

daniels February 2, 2009 09:54

Hi, I observed some proble
 
Hi,

I observed some problem using oscillatingFixedValueFvPatchField BC in parllel. Following changed cured the problems.

Index: fields/fvPatchFields/derived/oscillatingFixedValue/oscillatingFixedValueFvPatchF ield.C
================================================== =================
--- fields/fvPatchFields/derived/oscillatingFixedValue/oscillatingFixedValueFvPatchF ield.C (revision 967)
+++ fields/fvPatchFields/derived/oscillatingFixedValue/oscillatingFixedValueFvPatchF ield.C (working copy)
@@ -70,7 +70,8 @@
const fvPatchFieldMapper& mapper
)
:
- fixedValueFvPatchField<type>(p, iF),
+ fixedValueFvPatchField<type>(ptf, p, iF, mapper),
refValue_(ptf.refValue_, mapper),
amplitude_(ptf.amplitude_),
frequency_(ptf.frequency_),


Find attachead a simple case to test.



daniels February 2, 2009 09:59

Here is the attachment, sorry,
 
Here is the attachment, sorry, but my browser does not like the forum software.

When decomposing the case the value vield is wrong with the original oscillatingFixedValueFvPatchField.



daniels February 2, 2009 10:01

http://www.cfd-online.com/Ope
 
http://www.cfd-online.com/OpenFOAM_D...hment_icon.gif osciDuct.tgz


All times are GMT -4. The time now is 06:19.