CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 1 of 1
Search took 0.00 seconds.
Search: Posts Made By: fumiya
Forum: OpenFOAM February 26, 2013, 06:15
Replies: 1
Views: 960
Posted By fumiya
Hi Thomas, You can access the cell center...

Hi Thomas,

You can access the cell center value of pressure field p by p[cell_label].

If you want to access every cell, you can use
forAll(p, cellI)
{
//You can use p[cellI]
}Using the...
Showing results 1 to 1 of 1

 
Forum Jump

All times are GMT -4. The time now is 08:42.