|
[Sponsors] |
[Other] a field defined only selected cells and solving an equation on selected cells |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 27, 2017, 12:14 |
a field defined only selected cells and solving an equation on selected cells
|
#1 |
Member
Ashish Kumar
Join Date: Jun 2015
Posts: 33
Rep Power: 11 |
I have two domains in my model. I am solving for pressure in these two domains, and these two domains are connected by flow transfer between each other.
But, second domain only exists on a subset of the full mesh. So the pressure in the second domain is not defined for all mesh cells. How can we create a field which is defined only for selected cell? Alternatively, I tried to solve the second domain equation on whole mesh (as suggested in another forum conditional solving of transport equation ), but for a lot of cells where the second domain is not defined leads to 0=0 trivial equation while solving for fvscalar matrix equation. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with chtMultiregionFoam radiation boundary condition | baran_foam | OpenFOAM Running, Solving & CFD | 10 | December 17, 2019 18:36 |
Free surface issues with interDyMFoam for hydroturbine | oumnion | OpenFOAM Running, Solving & CFD | 0 | October 6, 2017 15:05 |
HeatSource BC to the whole region in chtMultiRegionHeater | xsa | OpenFOAM Running, Solving & CFD | 3 | November 7, 2016 06:07 |
SLTS+rhoPisoFoam: what is rDeltaT??? | nileshjrane | OpenFOAM Running, Solving & CFD | 4 | February 25, 2013 05:13 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 03:58 |