|
[Sponsors] |
April 11, 2022, 11:35 |
create an IOobject with the mesh surfaces
|
#1 |
New Member
Lollo
Join Date: Aug 2019
Posts: 4
Rep Power: 7 |
Hello everyone,
I am trying to do something that should be quite easy with no success. My idea is to create an IOobject with the values of the surfaces of hte mesh elements. I am modifying the scalar transport solver. In the createFields.h, I added: Code:
surfaceScalarField faceSurfs ( IOobject ( "faceSurfs", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE ), mesh, dimensionedScalar("zero", dimArea, 0.0) ); faceSurfs.ref() = mesh.magSf(); Thanks! |
|
April 13, 2022, 12:17 |
|
#2 |
New Member
Lollo
Join Date: Aug 2019
Posts: 4
Rep Power: 7 |
Bump!
hopefully somebody has some help for this |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] SnappyHexMesh for internal Flow | vishwa | OpenFOAM Meshing & Mesh Conversion | 24 | June 27, 2016 09:54 |
[mesh manipulation] Importing Multiple Meshes | thomasnwalshiii | OpenFOAM Meshing & Mesh Conversion | 18 | December 19, 2015 19:57 |
[ICEM] how to create a 2d tri mesh with quad mesh in the boundary layer | seal2013 | ANSYS Meshing & Geometry | 3 | October 6, 2013 17:09 |
[snappyHexMesh] Layers:problem with curvature | giulio.topazio | OpenFOAM Meshing & Mesh Conversion | 10 | August 22, 2012 10:03 |
Icemcfd 11: Loss of mesh from surface mesh option? | Joe | CFX | 2 | March 26, 2007 19:10 |