|
[Sponsors] |
September 20, 2012, 11:39 |
How to add a new volField type
|
#1 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,089
Rep Power: 34 |
Hi,
I would like to create a new volField type called volTensor4thOrderField, so I have created a primitive called Tensor4thOrder and it works fine and I was able to create a tensor4thOrderField without too much difficulty. However, now I want to have a volTensor4thOrderField so I added the definition to finiteVolume/fields/volFields/volFields.C and finiteVolume/fields/volFields/volFieldsFwd.C and also for the fvPatchFields finiteVolume/fields/fvPatchField/fvPatchField/fvPatchFieldsFwd.C and finiteVolume/fields/fvPatchField/fvPatchField/fvPatchFields.C But I get lots of compilation errors to do with the fvPatchFields (basicSymmetry, fixedValue …). Does anyone have any tips or know what files exactly I might have to change to get my volTensor4thOrderField working? If it makes a difference I will be using the field for material properties so I only need the calculated or zeroGradient fvPatchField for it. Best regards, Philip |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh | gschaider | OpenFOAM Community Contributions | 300 | October 29, 2014 18:00 |
[swak4Foam] Air Conditioned room groovyBC | Sebaj | OpenFOAM Community Contributions | 7 | October 31, 2012 14:16 |
[Other] cgnsToFoam problems with "QUAD_4" cells | lentschi | OpenFOAM Meshing & Mesh Conversion | 1 | March 9, 2011 04:49 |
turbulent jet simulation | antonio_ing | OpenFOAM Running, Solving & CFD | 5 | September 16, 2010 02:31 |
reconstructParMesh not working with an axisymetric case | francesco | OpenFOAM Bugs | 4 | May 8, 2009 05:49 |