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 Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 21, 2010, 12: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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 15:45
UDF vs Custom field function andrew FLUENT 5 June 24, 2011 10:53
source code for inert heating custom law mat27x FLUENT 0 October 23, 2009 18:33
defining custom convetive terms CFD user CFX 1 February 22, 2009 22:40
URGENT custom property for UDF Sandilya Garimella FLUENT 0 May 19, 2008 12:35


All times are GMT -4. The time now is 05:23.