CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

two questions about $(copying)

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 2, 2013, 14:01
Default two questions about $(copying)
  #1
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
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.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   July 20, 2013, 14:41
Default
  #2
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
is there any idea?
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   July 21, 2013, 11:47
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
__________________
wyldckat is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
New User, Basic Questions (Yacht Design) nyskiffie STAR-CCM+ 0 March 13, 2013 17:01
possible interview questions atturh Main CFD Forum 1 February 21, 2012 09:53
NACA0012 Validation Case Questions ozzythewise Main CFD Forum 3 August 3, 2010 15:39
novice star ccm+ questions apc3161 STAR-CCM+ 2 August 25, 2009 11:15
turbulence modeling questions llowen Main CFD Forum 3 September 11, 1998 05:24


All times are GMT -4. The time now is 03:33.