CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Implement a new boundary condition and writes out the values

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 19, 2014, 13:03
Default Implement a new boundary condition and writes out the values
  #1
Member
 
Kaufman
Join Date: Jul 2013
Posts: 55
Rep Power: 13
kmefun is on a distinguished road
Hi Foamer,

I am implementing a marangoniBC follow by this thread
http://www.cfd-online.com/Forums/ope...angoni-bc.html

The velocity field result shows resonable from paraFoam.
U.jpg
However, the velocity patch field in each runTime directory show unrealistic values, like

right
{
type marangoni;
marangonicoeff -0.013;
value nonuniform List<vector>
20
(
(0 0 0)
(0 0 0)
(0 0 0)
(0 0 0)
(0 0 0)
(0 0 0)
(0 0 0)
(0 0 0)
(0 0 0)
(0 0 0)
(0 0 0)
(0 0 0)
(0 0 0)
(0 0 0)
(0 0 0)
(0 0 0)
(0 0 0)
(0 0 0)
(0 0 0)
(0 -0.00325 0)
)
;
}

When I run openFOAM in parallel and then reconstruct processors. The velocity patch field then can be got resonable distribution values, like

right
{
type marangoni;
marangonicoeff -0.013;
value nonuniform List<vector>
20
(
(0 -9.82226e-06 0)
(0 -4.04154e-05 0)
(0 -9.46266e-05 0)
(0 -0.000163121 0)
(0 -0.000241381 0)
(0 -0.000327055 0)
(0 -0.000417371 0)
(0 -0.00050884 0)
(0 -0.000597326 0)
(0 -0.000678225 0)
(0 -0.000746756 0)
(0 -0.000798225 0)
(0 -0.000828147 0)
(0 -0.000832275 0)
(0 -0.00080656 0)
(0 -0.000746588 0)
(0 -0.000645329 0)
(0 -0.000493089 0)
(0 -0.00031147 0)
(0 -0.000192022 0)
)
;
}
My question is no matter runing in single or parallel, the writing out value should be the same, right? The attachment are the boundary Patch I implemented.marangoniFvPatchVectorField.C

marangoniFvPatchVectorField.H
Could anybody give me some clue about it?

Thank you!!
I use OF 2.3 and the application is icoFoam with adding temperature equation in it.
kmefun is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Create a GeometricField of a given type on given patch? philippose OpenFOAM Programming & Development 4 August 12, 2013 13:41
FLUENT boundary condition problem with gmsh EIvb FLUENT 0 April 30, 2013 08:45
temperature / enthalpy fields depending on type of fvPatchField astein OpenFOAM Programming & Development 0 June 28, 2010 08:10


All times are GMT -4. The time now is 04:51.