CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

Volume Cells

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

LinkBack Thread Tools Display Modes
Old   March 4, 2016, 07:19
Default Volume Cells
New Member
Robert R.
Join Date: Feb 2016
Location: Braunschweig, Germany
Posts: 7
Rep Power: 3
chefkoch89 is on a distinguished road
Dear Community,

this is my first thread and I'm still new with OpenFOAM.
I'm working on multiphase solver wich is based on InterFoam with some enhancements.
Right now I want to implement a porosity criteria funtion based on Darcys law into the code.

For these computations I need a loop, which is checking, if the temperatur in each cell and the cells within ten times the diameter of that cell are in a critical stage of solidification (this value is given by a temperature range).

My problem is, that I don't know how I can identify one cell and check if the temperatures of the surrounding cells are below the given temperature range. Finally I want to add their volumes to a new value.

I hope you are able to understand the problem. I image that the needed code is quite simple and not a big problem

Thank you!
chefkoch89 is offline   Reply With Quote


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
[ICEM] Problem with prism cells sidharath ANSYS Meshing & Geometry 0 September 1, 2015 07:09
error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Native Meshers: blockMesh 2 March 14, 2012 10:56
snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Native Meshers: snappyHexMesh and Others 2 March 27, 2011 21:11
BlockMesh FOAM warning gaottino OpenFOAM Native Meshers: blockMesh 7 July 19, 2010 14:11
external flow with snappyHexMesh chelvistero OpenFOAM 11 January 15, 2010 20:43

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