|
[Sponsors] |
Writing velocity and coordinates into text file |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 31, 2021, 13:17 |
Writing velocity and coordinates into text file
|
#1 |
New Member
Krystian Pietrzak
Join Date: May 2021
Posts: 1
Rep Power: 0 |
Hello everyone,
I am trying to simulate VOF LES collision of two fluid jets. In order to do so I am simulating flow in the injector first, than I want to use the results saved in a text file as velocity inlet boundry condition for the main domain where the injection is about to happen in order to increase calculations stablity and reduce number of elements in a single simulation. I made a selection which is made of around 4000 cell faces. I want to write the results in a txt file in such manner: cell face coordinate x ; cell face coordinate y ; cell face coordinate z ; velocity x component for this cell; velocity y component for this cell; velocity z component for this cell. I have problems with writing a formula in order to get the single cell face coordinates. Has anyone ever done such thing? I tried using for loop and XB[i][0] to itarate through all faces in the selection and get the x coordinate but I get numbers which doesnt make any sense. The selection I made, from which I want to get the results is shown on the first picture as a gray circle inside the pink selection. I have also included a file which is contained in VOF LES tutorial, with x,y coordinates of every cell in selection with corresponding velocity components. I want to achive the same result but with x,y,z coordinates and x,y,z velocity components. I would be thankful for all your responses |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Keeping intermediate files | OVS | SU2 | 5 | December 5, 2021 11:41 |
[OpenFOAM] How to get the coordinates of velocity data at all cells and at all times | vidyadhar | ParaView | 9 | May 20, 2020 20:06 |
Shape optimization doesn't converge - Adjoint log file | JPBLourenco | SU2 Shape Design | 0 | December 11, 2017 08:41 |
velocity and cell coordinates on Threshold plane- Inflow Plane of virtual Disk | surajp92 | STAR-CCM+ | 2 | June 21, 2017 09:48 |
Question about SU2 optimization | YoniHe | SU2 Shape Design | 3 | January 15, 2016 00:31 |