|
[Sponsors] |
difference between U().boundaryField()[patchI] and U().boundaryField()[patchI].patchI |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 7, 2013, 08:02 |
difference between U().boundaryField()[patchI] and U().boundaryField()[patchI].patchI
|
#1 |
Member
Yu CAO
Join Date: May 2013
Posts: 76
Rep Power: 13 |
Hi:
I am wondering if any one know the difference between U().boundaryField()[patchI] and U().boundaryField()[patchI].patchInternalField()? and the difference between aMesh().faceAreaNormals() and aMesh().faceAreaNormals().internalField() in openfoam-1.6-ext.Thanks |
|
September 9, 2013, 08:27 |
|
#2 |
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 22 |
your first version gives you the values on the patch surface whereas the second version returns the values in the cells next to the surface.
|
|
September 10, 2013, 07:43 |
|
#3 |
Member
Yu CAO
Join Date: May 2013
Posts: 76
Rep Power: 13 |
Thank you for your reply. I have made a comparison with the internalfield and cell centre field. and I found though these two value are very close, they are not the same. So I think there must be something differences between them. In addition, for famesh, do they have cells next to them?
|
|
September 10, 2013, 16:06 |
|
#4 | |
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 22 |
What values/fields have you compared? What happens if you compare the cell center coordinates (.C(), http://www.cfd-online.com/Forums/ope...l-centers.html )?
Quote:
|
||
September 10, 2013, 16:16 |
|
#5 | |
Member
Yu CAO
Join Date: May 2013
Posts: 76
Rep Power: 13 |
Quote:
|
||
September 10, 2013, 17:44 |
|
#6 |
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 22 |
When do you print out the values of the patchInternalField. Are you sure there is no call to the solver or some boundary.correct()? Otherwise the internal values would be modified before stored in the output files.
|
|
September 10, 2013, 19:22 |
|
#7 |
Member
Yu CAO
Join Date: May 2013
Posts: 76
Rep Power: 13 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
high-order difference in OpenFOAM | rxgrch | OpenFOAM Programming & Development | 6 | August 28, 2017 15:11 |
Periodic Boundary Condition for upwind difference | yohey44 | Main CFD Forum | 0 | October 27, 2010 14:10 |
[General] paraview - plotting difference to reference data | joewe | ParaView | 0 | August 30, 2010 19:01 |
the effect of upwind difference | hades | Main CFD Forum | 8 | March 15, 2009 00:43 |
Fininte difference and Finite element Technique | Mahendra Singh Mehra | FLUENT | 3 | December 23, 2005 00:49 |