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

Custom a polyPatch/fvpatch possible

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 21, 2010, 13:05
Default Custom a polyPatch/fvpatch possible
  #1
New Member
 
Join Date: Mar 2010
Posts: 27
Rep Power: 16
astein is on a distinguished road
Dear Foamers,

I working on a project where I need to add a coustom patch to OpenFOAM. Meaning not just a boundary condition (-> fvPatchField) but also a custom underlying polyPatch/fvPatch. The functionality can be ybout the same as needed for a normal boundary condition (e.g. fixedValue).

My problem: When I build a custom polyPatch/fvPatch inheriting for example wallPolyPatch / wallFvPatch and configure the boundary-file appropriately my custom patch is used - everything looks fine in the beginning. Using icoFoam, the Ux, Uy, Uz equations are solved as expected. When entering the PISO block I always get a floating point exception in the following division:
volScalarField rUA = 1.0/UEqn.A();

Has anybody a hint what I might be missing? What patch type does a boundary condition as fixedValue use?

Any hints are appreciated! thanks in advance!
-Andreas
astein 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
How to calculate pressure forces using custom field functions? tsagaro FLUENT 7 June 23, 2017 16:45
UDF vs Custom field function andrew FLUENT 5 June 24, 2011 11:53
source code for inert heating custom law mat27x FLUENT 0 October 23, 2009 19:33
defining custom convetive terms CFD user CFX 1 February 22, 2009 23:40
URGENT custom property for UDF Sandilya Garimella FLUENT 0 May 19, 2008 13:35


All times are GMT -4. The time now is 14:35.