CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Configuring Allrun

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 28, 2021, 10:46
Default Configuring Allrun
  #1
New Member
 
Evren Yilmaz Yakin
Join Date: Feb 2016
Location: Ankara, Turkey
Posts: 27
Rep Power: 10
evrenykn is on a distinguished road
Hi,

I want to configure allrun file and I want to change wall type in polyMesh > boundary file as below.

Code:
(
    inlet_air
    {
        type            patch;
        nFaces          545;
        startFace       191998;
    }
    inlet_fuel
    {
        type            patch;
        nFaces          740;
        startFace       192543;
    }
    outlet
    {
        type            patch;
        nFaces          226;
        startFace       193283;
    }
    wall
    {
        type            patch;
        nFaces          20361;
        startFace       193509;
    }
)
How can I change wall type with using a script?

I started as below but I can't finished.

Code:
"foamDictionary constant/polyMesh/boundary -entry wall "
Regards,
__________________
Best Regards,

Evren
evrenykn is offline   Reply With Quote

Old   February 28, 2021, 12:51
Default
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Take a look through the tutorials ("git grep" is your friend) for cases with "changeDictionary"
From the docs: https://www.openfoam.com/documentati...C.html#details
olesen is offline   Reply With Quote

Old   February 28, 2021, 13:29
Default
  #3
New Member
 
Evren Yilmaz Yakin
Join Date: Feb 2016
Location: Ankara, Turkey
Posts: 27
Rep Power: 10
evrenykn is on a distinguished road
Hi olesen,

I solved it with using foamdictionary

Thank you for your help.

I wrote the code as below.

Code:
foamDictionary constant/polyMesh/boundary \
                -entry entry0.wall.type -set wall
Regards,
__________________
Best Regards,

Evren
evrenykn is offline   Reply With Quote

Reply


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
WSL, cannot run Allrun scripts Jeggi OpenFOAM Running, Solving & CFD 9 August 30, 2023 22:35
OpenFOAM 7 Allrun files not working W10 WLS otaolafr OpenFOAM Running, Solving & CFD 2 April 29, 2020 06:55
Unable to run allrun scripts sujay3101 OpenFOAM Running, Solving & CFD 4 January 25, 2020 17:49
How to specify machine in Allrun files killsecond OpenFOAM Running, Solving & CFD 3 May 18, 2018 16:29
script Allrun doesn't work after beeing copied on another disk hard drive nakor OpenFOAM Installation 3 September 12, 2012 16:16


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