CFD Online Logo CFD Online URL
Home > Forums > Main CFD Forum

Set value of cell to face.

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

LinkBack Thread Tools Display Modes
Old   June 6, 2011, 17:50
Default Set value of cell to face.
New Member
Join Date: Jun 2011
Posts: 1
Rep Power: 0
Emzeten is on a distinguished road
Hello, my problem is that i need to assign to faces a values of nearest cells. I need to have on faces a value of Strain Rate to compute good values of Strain Rate gradient. Without this I have 0 on walls and gets wrong value of gradient. I know I can use Adjacent Cell Index (F C0, F C1) but i dont know how exactly I should do this. Thanks for help.

cell_t c;
Thread *t;
face_t f;

Emzeten 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
How to determine the direction of cell face vectors on processor patches sebastian_vogl OpenFOAM Programming & Development 1 October 11, 2016 13:17
Hydrostatic Pressure and Gravity miliante OpenFOAM Running, Solving & CFD 132 October 7, 2012 22:50
Import netgen mesh to OpenFOAM hsieh Open Source Meshers: Gmsh, Netgen, CGNS, ... 32 September 13, 2011 05:50
Exporting Cell set from STAR CCM+ vishyaroon STAR-CCM+ 0 July 13, 2009 14:47
how to access each cell of a face? (user fortran) Katariina CFX 3 January 28, 2008 10:16

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