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

Add single cells

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 23, 2015, 09:35
Default Add single cells
  #1
Member
 
Join Date: Jul 2014
Posts: 34
Rep Power: 2
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, 01:59
Default
  #2
Member
 
Join Date: Jul 2014
Posts: 34
Rep Power: 2
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
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SnappyHexMesh for internal Flow vishwa OpenFOAM Native Meshers: snappyHexMesh and Others 23 August 6, 2014 03:50
snappyHexMesh and concave cells GerhardHolzinger OpenFOAM Native Meshers: snappyHexMesh and Others 2 December 16, 2013 10:43
external flow with snappyHexMesh chelvistero OpenFOAM 11 January 15, 2010 20:43
Add a layer of cells, UDF, dynamic mesh or ...? Modisa FLUENT 0 March 17, 2007 12:59
Add a layer of cells, dynamic mesh or ...? Modisa FLUENT 1 March 12, 2007 03:01


All times are GMT -4. The time now is 23:49.