|
[Sponsors] |
using codedFixedValue to make a custom BC depending on internal baffle flux |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Jacques
Join Date: Jul 2019
Posts: 20
Rep Power: 7 ![]() |
I want to make a custom (pressure) boundary condition whose value is based on the surface flux in an internal surface. What would you recommend as a start, how would you proceed (is codedFixedValue even the right way to do it ?)
I think i need the following : -a baffle that i can access in codedFixedValue (via fvPatch ?), but i don't know how to identify the correct surface/patch. -a way to calculate the mass flow rate on this patch : a loop on the faces of the adequate patch (cf previous point) again with fvPatch for the positions of the faces and the velocity -calculate the correct function and boundary condition -loop over the BC patch faces and apply the custom pressure. I think the main issue will be to find, identify and get the face variables of the internal face/baffle to feed the function. Should i look into it using these checkpoints or is there an alternative, better and more appropriate way ? In any case i am eager to take any advice as I am not an expert in openfoam programming at all, and I hope to progress doing some custom projects like this. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do I create a variable heat flux on a baffle interface? | oyvindss | STAR-CCM+ | 1 | March 7, 2018 00:53 |
Calculate a custom flux through the interface of a two phase flow | arsalan.dryi | OpenFOAM Post-Processing | 5 | October 24, 2016 14:31 |
How to make a "baffle" in ICEM-CFX | Joe | Main CFD Forum | 10 | December 8, 2008 20:11 |
How to make a "baffle" in ICEM-CFX | Joe | CFX | 0 | December 4, 2008 14:36 |
OpenFOAM with IBM AIX | matthias | OpenFOAM Installation | 20 | March 25, 2008 02:36 |