Setting volume fraction in a specific block?
Hi All
I have a basic question that I can't seem to figure out in the docs. I have a domain consisting of two blocks. For the interFoam examples, setFieldsDict always uses boxToCell to set non-default values for alpha1. That is, regions ( boxToCell { box (0 0 -1) (0.1461 0.292 1); fieldValues ( volScalarFieldValue alpha1 1 ); } ); Is there a method to set alpha1 in a block that has been defined in blockMeshDict? Thanks |
search in wiki about funkySetField it gave more option ;)
|
Thanks for the reply. I'll look at the wiki.
I thought about writing code to setup 0/alpha1 but it doesn't seem that it is simple to figure out which cells belong to a given block. Again, thanks for the tip. |
All times are GMT -4. The time now is 16:33. |