|
[Sponsors] |
November 18, 2019, 04:32 |
boundaryfieldref is not reflected
|
#1 |
New Member
yusaku kusuhara
Join Date: Nov 2019
Posts: 1
Rep Power: 0 |
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); } } } |
|
|
|
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 |