CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Other] Add single cells

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 23, 2015, 08:35
Default Add single cells
  #1
Member
 
Join Date: Jul 2014
Posts: 39
Rep Power: 10
PicklER is on a distinguished road
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
PicklER is offline   Reply With Quote

Old   February 26, 2015, 00:59
Default
  #2
Member
 
Join Date: Jul 2014
Posts: 39
Rep Power: 10
PicklER is on a distinguished road
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
PicklER is offline   Reply With Quote

Reply

Tags
mesh cells thermo dynamic

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 04:46.