|
[Sponsors] |
setting the correct format of nonuniform List<vector> for inlet in 0 Folder |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 6, 2013, 08:12 |
setting the correct format of nonuniform List<vector> for inlet in 0 Folder
|
#1 |
Senior Member
Mohsen KiaMansouri
Join Date: Jan 2010
Location: CFD Lab
Posts: 118
Rep Power: 16 |
Dear All
I have some problem with the correct format of nonuniform List<vector> for my inlet boundary conditions for U in 0 Folder. I want to specify a nonuniform velocity for U at inlet for my LES calculation from my previous RANS calculations output. In nonuniform List<vector> we must specify only the U in the inlet faces like this: Code:
value nonuniform List<vector> 32 ( ( 0.125901997 0.138911426 0. ) ( 0.128139153 0.172775626 0. ) ( 0.126960248 0.211820379 0. ) ( 0.120514534 0.254806578 0. ) ( 0.107431941 0.30025211 0. ) ( 0.0867254138 0.346227229 0. ) ( 0.0579536967 0.390691847 0. ) ( 0.0212141946 0.431824267 0. ) ( 0.138057172 0.00678228773 0. ) ( 0.135565937 0.0201092884 0. ) ( 0.131116718 0.0328430161 0. ) ( 0.126068711 0.0451080948 0. ) ( 0.121914245 0.0576611347 0. ) ( 0.11977531 0.0717905611 0. ) ( 0.120108962 0.0890788361 0. ) ( 0.122550257 0.111073039 0. ) ( -0.461236358 0.508895934 0. ) ( -0.393406957 0.530447841 0. ) ( -0.32478264 0.541867137 0. ) ( -0.257232815 0.543873072 0. ) ( -0.192155391 0.537038386 0. ) ( -0.130680457 0.521705806 0. ) ( -0.0739541948 0.498558581 0. ) ( -0.0230022091 0.468220979 0. ) ( -0.802104294 0.0394048579 0. ) ( -0.788241446 0.116924562 0. ) ( -0.764009297 0.191374391 0. ) ( -0.73147279 0.261725157 0. ) ( -0.690910041 0.326776087 0. ) ( -0.642638564 0.385182768 0. ) ( -0.587392509 0.435639977 0. ) ( -0.526437223 0.477134943 0. ) ); so here is my question: how can I export my inlet from my previous RANS calculations at the inlet patch to have the above format (i.e. the values of velocities at inlet faces with the OpenFOAM Format) without the need for arranging them manually. since my inlet have more than 4000 faces so it is impossible to do it manually. I have used the sampling utility in inlet for my previous calculations but it gave me the values of velocities at points not cells. Does anybody know how can i do that? Thanks for your helps in advance.
__________________
“If you have an apple and I have an apple and we exchange these apples then you and I will still each have one apple. But if you have an idea and I have an idea and we exchange these ideas, then each of us will have two ideas.” |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 06:20 |
[DesignModeler] Airfoil Coordinate data Error inspite correct format | Bharath_S | ANSYS Meshing & Geometry | 0 | December 25, 2012 12:56 |
What is the correct date format? | surjamankhatiwora | Main CFD Forum | 0 | November 25, 2010 23:00 |
[PyFoam] setting is not correct? or not compatible with 1.6? | seasoul | OpenFOAM Community Contributions | 2 | March 23, 2010 11:42 |
Warning 097- | AB | Siemens | 6 | November 15, 2004 04:41 |