/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  7
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      setFieldsDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

defaultFieldValues
(
    volScalarFieldValue DT 64
    //volScalarFieldValue rho 8000//7700
    volScalarFieldValue Phase 4
);

regions
(
    surfaceToCell   
    {
        	file            "./Ag.stl";
        	outsidePoints   ((0.0001 0.0004 0.0005)
                                 (0.009  0.01 3e-4));
          	includeCut      false;
        	includeInside   true;
        	includeOutside  false;
        	nearDistance    -1;
        	curvature       -100;
            useSurfaceOrientation true;
            //fileType        stl;
            //scale           1.0;

        fieldValues
        (
            volScalarFieldValue DT 64
            //volScalarFieldValue rho 8000//8957 // constant
            volScalarFieldValue Phase 0
        );
    }
    surfaceToCell   
    {
        	file            "./inconel.stl";
        	outsidePoints   ((0.009  0.01 3e-4));
        	includeCut      false;
        	includeInside   true;
        	includeOutside  false;
        	nearDistance    -1;
        	curvature       -100;
            useSurfaceOrientation true;

        fieldValues
        (
            volScalarFieldValue DT 64
            //volScalarFieldValue rho 8000//8470 // constant
            volScalarFieldValue Phase 1
        );
    }
    surfaceToCell   
    {
        	file            "./ZrO2.stl";  
        	outsidePoints   ((0.009  0.01 3e-4));
        	includeCut      false;
        	includeInside   true;
        	includeOutside  false;
        	nearDistance    -1;
        	curvature       -100;
            useSurfaceOrientation true;

        fieldValues
        (
            volScalarFieldValue DT 64
            //volScalarFieldValue rho 8000//3150 // constant
            volScalarFieldValue Phase 2
        );
    }
    surfaceToCell   
    {
        	file            "./NiCr.stl";
        	outsidePoints   ((0.009  0.01 3e-4));
        	includeCut      false;
        	includeInside   true;
        	includeOutside  false;
        	nearDistance    -1;
        	curvature       -100;
            useSurfaceOrientation true;

        fieldValues
        (
            volScalarFieldValue DT 64
            //volScalarFieldValue rho 8000//8200 // constant
            volScalarFieldValue Phase 3
        );
    }
);
