|
[Sponsors] |
September 14, 2020, 09:12 |
custom cyclic fvPatchField
|
#1 |
Senior Member
Gerry Kan
Join Date: May 2016
Posts: 348
Rep Power: 10 |
Howdy Foamers:
Following this thread, I have decided to investigate the possibly of writing my own fvPatchField based on cyclicFvPatchField. As first step I took cyclicFvPatchField verbatim and renamed it to, say, "myCyclicFvPatchField". Note that I also had to change the TypeName to "myCyclicFvPatchField". The new fvPatchField compiled successfully and was picked up by my solver and, since I did not change its functionality, it should behave exactly like a cyclic boundary condition. Using a test case, I changed the necessary "cyclic" boundaries to "myCyclic". I received the following runtime error: Code:
--> FOAM FATAL IO ERROR: inconsistent patch and patchField types for patch type cyclic and patchField type myCyclic My question is, do I have to develop a "myCyclic" patch type for use with blockMesh and, if this is the case, also develop a modified version of blockMesh which also include the new "myCyclic" patch type? Thank you very much in advance, Gerry. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cyclic boundary condition in foam-extend 4.0 | rellumeister | OpenFOAM Pre-Processing | 2 | March 3, 2020 08:03 |
time step continuity error increases with time_SRFSimplefoam | mostafa kamal | OpenFOAM Running, Solving & CFD | 7 | October 2, 2019 02:00 |
LES in OF 3.0.1, no Output for nuSgs | Mirage | OpenFOAM Programming & Development | 1 | October 4, 2016 18:00 |
Cyclic Boundary Condition Errors? | nyflyer | OpenFOAM Running, Solving & CFD | 2 | April 26, 2016 14:14 |
Possible createPatch/createBaffles bug? | simpomann | OpenFOAM Bugs | 2 | July 15, 2014 07:07 |