Contrib setfieldbycellset

From OpenFOAMWiki
Jump to: navigation, search

Valid versions: OF version 12.png

Contents

1 Short description

This utility sets the value of a scalar field for all the cells belonging to a cell set

2 Usage

The utility takes three additional parameters:

  1. the name of the scalar field
  2. the name of the cell set
  3. the value the field is set in the cells to

3 Technical

  • All the cells not belonging to the set are left untouched.
  • The utility is quite trivial. But I've been asked for it.

4 Download

The tar file with the sources

5 History

First upload of the utility

--Bgschaid 09:43, 13 Jan 2006 (CET)