CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Other] a field defined only selected cells and solving an equation on selected cells

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 27, 2017, 11:14
Default 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: 10
ashish.svm is on a distinguished road
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.
ashish.svm is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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 17:36
Free surface issues with interDyMFoam for hydroturbine oumnion OpenFOAM Running, Solving & CFD 0 October 6, 2017 14:05
HeatSource BC to the whole region in chtMultiRegionHeater xsa OpenFOAM Running, Solving & CFD 3 November 7, 2016 05:07
SLTS+rhoPisoFoam: what is rDeltaT??? nileshjrane OpenFOAM Running, Solving & CFD 4 February 25, 2013 04:13
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58


All times are GMT -4. The time now is 10:46.