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 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: lichmaster
Forum: OpenFOAM Programming & Development July 20, 2011, 06:42
Replies: 7
Views: 6,787
Posted By lichmaster
Hi Pablo thanks for your reply. I had...

Hi Pablo
thanks for your reply.

I had already seen the function you're suggesting, but is not what i'm looking for: i'd like to access from a fvMesh.C()[i] (center of cell) to the label of the...
Forum: OpenFOAM Programming & Development July 19, 2011, 09:50
Replies: 7
Views: 6,787
Posted By lichmaster
Sadly it's not a good solution. :( I really...

Sadly it's not a good solution. :(

I really need to cycle through all the cells and gain access to it's vertices or to it's face centers, any help?
Forum: OpenFOAM Programming & Development July 19, 2011, 07:05
Replies: 7
Views: 6,787
Posted By lichmaster
Red face Searching deeper in the huge list of files I...

Searching deeper in the huge list of files I found a
Foam::label Foam::primitiveMesh::findCell(const point& location) const
It should do what I need :)
Forum: OpenFOAM Programming & Development July 19, 2011, 06:10
Replies: 7
Views: 6,787
Posted By lichmaster
Question Access cell face center / cell vertices

Hi all,

I'm back again with one question :)
If I'm inside a cell loop like

for (label i = 0; i < iMesh.C().size(); i ++) {
...
}Is there a way to gain access to that specific cell face...
Showing results 1 to 4 of 4

 
Forum Jump

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