|
[Sponsors] |
May 21, 2010, 13:05 |
Custom a polyPatch/fvpatch possible
|
#1 |
New Member
Join Date: Mar 2010
Posts: 27
Rep Power: 16 |
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 |
|
|
|
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 |