|
[Sponsors] |
April 18, 2011, 18:29 |
updating alpha1 inlet from BC
|
#1 |
Senior Member
Pablo
Join Date: Mar 2009
Posts: 102
Rep Power: 17 |
Hello,
I would like to update the alpha1 in interdyfoam at the inlet meanwhile the mesh move. I am begining with something simple like this; word inlet = "xmin"; //if (nameI == inlet) Info <<"/////////////////////// ESTOY EN EL PARCHE ///////////////////////////////// " << nl; label patchJ; patchJ=label(mesh.boundaryMesh().findPatchID(inlet )); if (mesh.Cf().component(2).boundaryMesh()[patchJ] < 0) alpha1=1; But it is giving me an error like; error: ‘class Foam::tmp<Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> >’ has no member named ‘boundaryMesh’ advanced thanks |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
TimeVaryingMappedFixedValue for Direct Numerical Simulation inlet | johndeas | OpenFOAM | 5 | May 21, 2014 07:11 |
Inlet Velocity in CFX | aeroman | CFX | 12 | August 6, 2009 18:42 |
Inlet table in STAR-CD | Sachin | Siemens | 1 | March 26, 2008 10:22 |
updating values at inlet boundaries | Stefano | Siemens | 3 | March 20, 2007 10:13 |
what the result is negatif pressure at inlet | chong chee nan | FLUENT | 0 | December 29, 2001 05:13 |