|
[Sponsors] |
use a boundary condition like internalField for just one volScalarField |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 16, 2022, 18:49 |
use a boundary condition like internalField for just one volScalarField
|
#1 |
Member
sajad
Join Date: Aug 2013
Posts: 71
Rep Power: 13 |
Hi dear foamer.
I wanna remove a boundary for just a field. for example I have 5 boundary condition and for energy Eq I want to use just 4 boundary condition and another Bc operate like internal face. do you have Idea about that? I change internalCoeffs and boundaryCoeffs but my matrix component changed. HTML Code:
TEqn.internalCoeffs().set(0,new Field<scalar>(0,pTraits<scalar>::zero)); TEqn.boundaryCoeffs().set(0,new Field<scalar>(0,pTraits<scalar>::zero)); |
|
April 12, 2022, 19:29 |
|
#2 | |
Member
sajad
Join Date: Aug 2013
Posts: 71
Rep Power: 13 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Question about adaptive timestepping | Guille1811 | CFX | 25 | November 12, 2017 18:38 |
Centrifugal fan-reverse flow in outlet lesds to a mass in flow field | xiexing | CFX | 3 | March 29, 2017 11:00 |
Boundary condition cannot find volScalarField | ChrisA | OpenFOAM Programming & Development | 1 | March 18, 2014 18:17 |
Question about heat transfer coefficient setting for CFX | Anna Tian | CFX | 1 | June 16, 2013 07:28 |
Error finding variable "THERMX" | sunilpatil | CFX | 8 | April 26, 2013 08:00 |