CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

Custom a polyPatch/fvpatch possible

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   May 21, 2010, 12:05
Default Custom a polyPatch/fvpatch possible
New Member
Join Date: Mar 2010
Posts: 27
Rep Power: 7
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!
astein is offline   Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF vs Custom field function andrew FLUENT 5 June 24, 2011 10:53
How to calculate pressure forces using custom field functions? tsagaro FLUENT 6 April 13, 2011 04:03
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 23:40
URGENT custom property for UDF Sandilya Garimella FLUENT 0 May 19, 2008 12:35

All times are GMT -4. The time now is 09:12.