|
[Sponsors] |
August 1, 2012, 04:37 |
how to use setFields in multiregionsolver
|
#1 |
Member
jack
Join Date: Jul 2011
Posts: 52
Rep Power: 14 |
Hello everyone
I am simulating a FSI problem with multiregionsolver.In my case,there are only two regions, solid and fluid.Now I want to use the function setFields to set a quantity ,for example initial volume fraction, in fluid region. I tried to put the setFieldsDict file in system/fluid floder,then run Code:
setFields -region solid Code:
setFields The following is the details of the file setFieldsDict in my case: // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // defaultFieldValues ( volScalarFieldValue sigma 2 ); regions ( boxToCell { box (-1.1 -1.1 0) (-1.0 1.1 5); fieldValues ( volScalarFieldValue sigma 0.01 ); } boxToCell { box (1.0 -1.1 0) (1.1 1.1 5); fieldValues ( volScalarFieldValue sigma 0.01 ); } ); // ************************************************** **** // So where should I put the setFieldsDict and how to modified it? regards! lg88 |
|
Tags |
setfields |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
setFields not working | dsanza | OpenFOAM | 4 | October 18, 2018 09:43 |
Problems with the execution of the setFields utility. | foamer | OpenFOAM Pre-Processing | 5 | June 3, 2013 12:24 |
setFields tool does not assign water volume for given mesh. | paka | OpenFOAM | 2 | June 7, 2012 09:17 |
OF 1.6-ext setFields does not keep patch values | Arnoldinho | OpenFOAM Bugs | 3 | May 9, 2012 03:58 |
question on setFields | fijinx | OpenFOAM Running, Solving & CFD | 1 | February 15, 2010 15:07 |