|
[Sponsors] |
changeDictionaryDict post-processing wall>patch |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 16, 2016, 08:27 |
changeDictionaryDict post-processing wall>patch
|
#1 |
Senior Member
Join Date: Jul 2009
Posts: 260
Rep Power: 18 |
Hi everyone,
Short explanation: Is there a way of changing boundary patch type after running your case? I need to go from wall to patch in order to sample my surfaces Long: After doing snappyHexMesh it makes my stl objects into walls. I've run my case and now want to sample the pressure on the surface of my stl walls with sampleDict. Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object sampleDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // setFormat raw; surfaceFormat vtk; interpolationScheme cellPoint; // Fields to sample. fields ( p ); sets ( ); surfaces ( cubes { type wall; patches ("cubes"); } ); // *********************************************************************** // Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | foam-extend: Open Source CFD | | \\ / O peration | Version: 3.0 | | \\ / A nd | Web: http://www.extend-project.de | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object changeDictionaryDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dictionaryReplacement { boundary { cubes { type patch; } } } // ************************************************************************* // |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
wind turbine - post processing | er_ijaz | FLUENT | 0 | September 30, 2013 06:28 |
post processing for CEL expressions | Niru | CFX | 0 | May 10, 2013 14:13 |
Automated post processing using CFD Post | shreyasr | ANSYS | 0 | January 28, 2013 07:21 |
CFD post processing techniques & streamlining | klk | Main CFD Forum | 0 | October 19, 2010 08:37 |
post processing in CFD | MANISH BHARGAVA | Main CFD Forum | 0 | October 17, 1998 21:51 |