CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   two questions about $(copying) (https://www.cfd-online.com/Forums/openfoam-pre-processing/120211-two-questions-about-copying.html)

immortality July 2, 2013 14:01

two questions about $(copying)
 
Hi
1)in a part of bafflesDict:
Code:

    master
            {
                //- Slave side patch
                name            baffle2Wall_top;

                type            wall;
                /*sampleMode      nearestPatchFace;
                sampleRegion    region0;
                samplePatch    baffle1Wall_1;
                offsetMode      uniform;
                offset          (0 0 0);*/


                patchFields
                {
                    p
                    {
                        type            zeroGradient;
                    }
                   
                    U
                    {
                        type            fixedValue;
                        value          uniform (0 0 0);
                    }

                    T
                    {
                        type            zeroGradient;
                    }

                    gas
                    {
                        type            zeroGradient;
                    }

                    alphat
                    {
                        type            alphatWallFunction;
                        value          uniform 0;
                    }
                    omega
                    {
                        type            compressible::omegaWallFunction;
                        value          uniform 12577.8289;
                    }
                    k
                    {
                        type            compressible::kqRWallFunction;
                        value          uniform 337.5;
                    }
                    mut
                    {
                        type            mutUSpaldingWallFunction;
                        value          uniform 0;
                    }
                 
                }
            }
            slave
            {
                //- Slave side patch
                name            baffle2Wall_bottom;

                type            wall;
                /*sampleMode      nearestPatchFace;
                sampleRegion    region0;
                samplePatch    baffle1Wall_0;
                offsetMode      uniform;
                offset          (0 0 0);*/

                patchFields
                {
                    ${...master.patchFields}
                }

what does mean ... in the part below:
Code:

patchFields
                {
                    ${...master.patchFields}
                }

2)when we use $ what does inputMode do?what types are there?:
Code:

#inputMode          merge
thanks.

immortality July 20, 2013 14:41

is there any idea?

wyldckat July 21, 2013 11:47

Hi Ehsan,

This is what happens when you don't read carefully the release notes ;)
This is briefly explained here: http://www.openfoam.org/version2.2.0/pre-processing.php

As for the "merge" option, it's explained in the User Guide, if I'm not mistaken.

Best regards,
Bruno


All times are GMT -4. The time now is 14:23.