CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

manipulating volume of cells in openfoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 13, 2015, 06:25
Default manipulating volume of cells in openfoam
  #1
New Member
 
mbani
Join Date: Aug 2014
Location: Luxembourg
Posts: 5
Rep Power: 12
Maryam1988 is on a distinguished road
Dear Foamers,

I want to add porosity into my solver (which is based on multiphaseEulerFoam). Does anyone know if it is possible to change the volume of each cell by considering the porosity of the cell and then solve the equations for the new volumes?

I know I can access the volumes by cell.V() function. How can I force openfoam to read my new volumes:

Vnew() = cell.V()*porosity

I also need to consider the effect of porosity on faces

Thanks in advance
Maryam1988 is offline   Reply With Quote

Reply

Tags
manipulating volume, multiphaseeulerfoam, porosity


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
Foam::error::PrintStack almir OpenFOAM Running, Solving & CFD 92 May 21, 2024 08:56
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 3 November 14, 2023 12:58
[blockMesh] non-orthogonal faces and incorrect orientation? nennbs OpenFOAM Meshing & Mesh Conversion 7 April 17, 2013 06:42
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 22:11
[snappyHexMesh] snappyHexMesh aborting Tobi OpenFOAM Meshing & Mesh Conversion 0 November 10, 2010 04:23


All times are GMT -4. The time now is 13:01.