|
[Sponsors] |
[blockMesh] Perform Circular Pattern Array to a blockMeshDict computational domain |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 1, 2015, 17:40 |
Perform Circular Pattern Array to a blockMeshDict computational domain
|
#1 |
Member
Eduardo Firvida
Join Date: Dec 2010
Posts: 53
Rep Power: 15 |
Hi I have a problem as shown in the next figure. But I didn't want to use the periodic faces, Y want to make a circular array pattern with the domain to generate a cylindrical computational domain. Is there any way to do it?
|
|
January 4, 2016, 13:03 |
|
#2 |
Member
Eduardo Firvida
Join Date: Dec 2010
Posts: 53
Rep Power: 15 |
I finaly did it with this script
Code:
#!/bin/sh . $WM_PROJECT_DIR/bin/tools/RunFunctions orig=$PWD n=2 declare -A d[$n] d[0]="(-0.5 0.8660254 0)" d[1]="(-0.5 -0.8660254 0)" cd $orig rm log.* runApplication blockMesh for (( i=0; i < $n; i++ )) do temp=$(mktemp)-$i mkdir -p $temp cp -a $orig/* $temp cd $temp runApplication blockMesh runApplication transformPoints -rotate "( (1 0 0) ${d[$i]} )" runApplication mergeMeshes -overwrite $orig $temp rm -rf $temp done Last edited by efirvida; January 11, 2016 at 13:31. |
|
September 2, 2022, 05:23 |
|
#3 | |
New Member
Mehulbhai Sasvadiya
Join Date: Jan 2021
Location: Germany
Posts: 25
Rep Power: 5 |
Quote:
Have you generated blockMesh by yourself or any other software? |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Domain size influence in unbounded domains model | Reoyo | Main CFD Forum | 10 | May 4, 2018 09:30 |
Pie Slice Cut Out in circular computational domain | MichaelBrandhorn | STAR-CCM+ | 0 | March 24, 2017 11:29 |
Out File does not show Imbalance in % | Mmaragann | CFX | 5 | January 20, 2017 11:20 |
[DesignModeler] scripting a circular pattern | efirvida | ANSYS Meshing & Geometry | 7 | July 26, 2015 19:40 |
Moving computational domain | David.C | OpenFOAM | 0 | July 21, 2015 09:13 |