CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Create a new patch at runtime for patchWave (https://www.cfd-online.com/Forums/openfoam-programming-development/136251-create-new-patch-runtime-patchwave.html)

carowjp May 25, 2014 11:01

Create a new patch at runtime for patchWave
 
Hello,

I am trying to create a new patch at runtime from interior faces that I can use with patchWave to calculate distances.

I looked at the utility createPatch for ideas. If I try to run createPatch using a face set (of internal faces) it returns this error:

Code:

Face 1 specified in set innerFaces is not an external face of the mesh.
This application can only repatch existing boundary faces.

    From function createPatch
    in file createPatch.C at line 725.

:eek:

Any suggestions much welcomed!

thanks,

James


All times are GMT -4. The time now is 21:37.