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

boundaryfieldref is not reflected

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 18, 2019, 04:32
Default boundaryfieldref is not reflected
  #1
New Member
 
yusaku kusuhara
Join Date: Nov 2019
Posts: 1
Rep Power: 0
kusukusu is on a distinguished road
Good day,
I want to perform combustion analysis using XiFoam.
I want to change the combustion rate to the value I specified Therefore, the following line was added to the bEqn.H file.

I was able to compile it, but when I checked it with parafoam, there was no change from before the improvement. What is the cause. I would like you to tell me.

forAll(mesh.boundary(), patchI)
{
forAll( p.boundaryField()[patchI], faceI)
{
if(p.boundaryField()[patchI][faceI] > 3.5 * 1.2e+06)
{
b.boundaryFieldRef()[patchI][faceI] = scalar(0.5);
}
}
}
kusukusu is offline   Reply With Quote

Reply


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
reflected wave changes boundary condition BigJoe FLUENT 3 May 20, 2016 03:12
[snappyHexMesh] Modifications with SnappyHexMesh: create a beach in order to prevent reflected waves Moux OpenFOAM Meshing & Mesh Conversion 2 July 8, 2015 08:27
reflected shock in a shock-tube matt CFX 6 February 4, 2014 18:43
Reflected Shock Waves VSass OpenFOAM Running, Solving & CFD 1 August 16, 2013 11:52
Reflected ghost values of a solid boundary quarkz Main CFD Forum 1 July 25, 2007 08:33


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