|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Luis
Join Date: Nov 2015
Posts: 2
Rep Power: 0 ![]() |
Hi,
I want to assign in a square pipe a variable, B, that is 15 between the meters 1 and 4 and 0 in the rest of the pipe. I did as follows: setFieldsDict defaultFieldValues ( volScalarFieldValue B 0 ); regions ( boxToCell { box (1 0 0) (4 1 1); fieldValues ( volScalarFieldValue B 15 ); } ); B internalField uniform 0; boundaryField { Inlet { type zeroGradient; } Outlet { type zeroGradient; } WallsA { type zeroGradient; } WallsB { type zeroGradient; } } The value of B is 0 in all the pipe. Can anyone tell me what did I do wrong? |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
setFieldsDict, alpha1, free surface, wigley | kolloff | OpenFOAM Pre-Processing | 10 | April 3, 2015 05:05 |
[swak4Foam] Using swak4Foam in setFieldsDict | RAUL | OpenFOAM Community Contributions | 2 | October 17, 2014 09:57 |
SetfieldsDict in the multiphaseInterFoam | salame | OpenFOAM Running, Solving & CFD | 4 | October 22, 2013 10:17 |
SetFieldsDict: Non uniform density | physics1 | OpenFOAM Running, Solving & CFD | 1 | May 8, 2013 16:35 |
Bogus setFieldsDict in damBreak4phase{,Fine} tutorial cases | mwild | OpenFOAM Bugs | 1 | August 10, 2010 09:36 |