|
[Sponsors] |
May 31, 2016, 16:02 |
codedFixedValue b.c for multi-region cases
|
#1 |
New Member
dklogo
Join Date: May 2015
Posts: 11
Rep Power: 11 |
Hi all,
I need to built a new b.c (for the electric potential-phi) in order to couple a multi-region case. More specific the mathematical form of my b.c into the interface is Eb-Ea=0. where Eb:electric field for solid and Ea for fluid region. For this reason I am going to use the codedFixedValue b.c. Thus my question is: How can I use the E variable in system/Changedictionary/phi file in order to code the above equation in phi b.c .? Is the equation reader a solution .? if yes, how can I use it .? thanks in advance !! |
|
June 7, 2016, 07:01 |
|
#2 |
New Member
dklogo
Join Date: May 2015
Posts: 11
Rep Power: 11 |
any suggestions ?
Because the utility of codedFixedValue for coupling boundary conditions it is an essential issue I will try to be more specific with my problem. Firstly the multi-region case has two regions, solid and fluid(air) Lets take the variables phiA and phiD phiA is the electric potential for the fluid region and phiD is the electric potential for the solid region I want to built a coupling boundary condition with the form : phiA-phiD=0 the code for the fluid interface is : const scalarField&phiDPatchField = this->patch().lookupPatchField<volScalarField,scalar>(“ phiD”); operator == (phiDPatchField); However when I am trying to compile the case the following error occurs: request for volScalarField phiD from objectRegistry air failed available objects of type volScalarField are 4 ( (rhoA|epsilon0) phiA magnEa rhoA which means that the solver denies to read the phiD variable because is created in the solid region . So my question is : How can I use/call a variable from a different region .? (here the phiD for air region) |
|
December 4, 2018, 22:27 |
Same Question
|
#3 |
New Member
Arpan Sircar
Join Date: Mar 2017
Posts: 8
Rep Power: 9 |
Hi
I have exactly the same question as posted above. Did anyone find any resolution to this issue ? Thanks Arpan |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Floating Point Error with kOmegaSST Turbulence Model | shipman | OpenFOAM Running, Solving & CFD | 5 | January 4, 2016 09:57 |
[Commercial meshers] Using starToFoam | clo | OpenFOAM Meshing & Mesh Conversion | 33 | September 26, 2012 05:04 |
Rotating region of a centr. pump - Counter R wall | Emre | CFX | 0 | September 20, 2007 10:58 |
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues | michele | OpenFOAM Meshing & Mesh Conversion | 2 | July 15, 2005 05:15 |
[Gmsh] Import gmsh msh to Foam | adorean | OpenFOAM Meshing & Mesh Conversion | 24 | April 27, 2005 09:19 |