|
[Sponsors] |
February 23, 2015, 08:35 |
Add single cells
|
#1 |
Member
Join Date: Jul 2014
Posts: 39
Rep Power: 11 |
Hi all
I'm trying to add single cells to a mesh. So far I have been able to copy and amend the files: points, faces, boundary, cells and neighbor and write them to new time directory in polyMesh. This is done by brute force: find patch faces, creating new points, assigning new internal and boundary faces where needed and adjusting boundary, own and neighbour accordingly. This is all done from the block mesh. Another idea was to use a dynamic mesh to displace the points and then a refinement which will simulate a cell addition. This idea is very limited to mesh with corners. I want to solve the flow field with rhoCentralFoam, then add cells according to some variable. As of now, I am having trouble with the solver and the thermo.Cv() and thermo.Cp(). To solve these I do a #createField and a thermo.correct for each time step, but then time.write() does not write the appended p, T and U. Before the #createFields, I use #createMesh in each time step to update the mesh properties. My question: Is there any simpler way of doing this? Thank in advance |
|
February 26, 2015, 00:59 |
|
#2 |
Member
Join Date: Jul 2014
Posts: 39
Rep Power: 11 |
Hi again
Just to make my question more direct: How can I update the thermo properties after I have added a cell, with out using #createFields and then thermo.correct()? Thanks |
|
Tags |
mesh cells thermo dynamic |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] SnappyHexMesh running killed! | Mark JIN | OpenFOAM Meshing & Mesh Conversion | 7 | June 14, 2022 01:37 |
How to add a source term on the nodes of the cells | amina.yacoubi | Fluent UDF and Scheme Programming | 4 | February 19, 2019 18:25 |
[snappyHexMesh] snappyHexMesh Segmentation Fault | avd28 | OpenFOAM Meshing & Mesh Conversion | 11 | May 11, 2015 20:32 |
Add a layer of cells, UDF, dynamic mesh or ...? | Modisa | FLUENT | 0 | March 17, 2007 11:59 |
Add a layer of cells, dynamic mesh or ...? | Modisa | FLUENT | 1 | March 12, 2007 02:01 |