Modifying Velocity Boundry Field
Hi all,
I am looking for help with the following code problem. I'd like the ability to adjust the boundary fields in code without using swak4foam. I've added the following snippet of code to bubbleFoam (OF v2.0): Code:
label outletPatchID = mesh.boundaryMesh().findPatchID("outletBottom"); Code:
Courant Number mean: 0.00492361038 max: 0.025444501 I would have expected both the outputs for current/corrected boundary to be the same value. However, as the debug info shows Ua.boundryField[] doesn't change after I assign it a new value. Any help would be appreciated. |
Just as a follow-up
I was mimicking this snippet of code also found in bubbleFoam, which allows explicit declaration of boundry field values using the method .boundaryField()[patchi]. Code:
// PEqn.H snippit |
All times are GMT -4. The time now is 00:01. |