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

Copy boundaryField into adjacent cell

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   April 7, 2018, 23:23
Default Copy boundaryField into adjacent cell
  #1
New Member
 
Join Date: May 2017
Posts: 8
Rep Power: 9
ec91 is on a distinguished road
Hello everyone,

I have a volScalarField E, and I need to copy the boundary field (i.e., the value defined as bc in the 0 folder) into the cells adjacent to the boundary.

In other words, for every patch and for every face of the patch:

internalField of E = boundary field of E, for that patch and that face.

I tried different solutions, but I deleted them since none of them worked.

Someone can help me?

Thank you and best regards.
ec91 is offline   Reply With Quote

 


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
error in fireFoam, when running the case wallFireSpread2D zhoubiao1088 OpenFOAM Running, Solving & CFD 9 February 1, 2018 18:45
Energy source for cell that are adjacent to wall BIANBOSHEN Fluent UDF and Scheme Programming 0 December 28, 2016 00:15
Checking if a cell thread is adjacent to a face thread twcp0104 Fluent UDF and Scheme Programming 17 December 20, 2016 05:58
adjacent cell thread RKH ANSYS Meshing & Geometry 0 January 4, 2010 16:17
how to connect faces(only one adjacent cell thread BC FLUENT 8 July 13, 2005 16:07


All times are GMT -4. The time now is 16:20.