|
[Sponsors] |
How to integrate notepad data into the 3D computational domain using script? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 13, 2023, 01:05 |
How to integrate notepad data into the 3D computational domain using script?
|
#1 |
Member
Niyas
Join Date: Apr 2013
Posts: 45
Rep Power: 13 |
Hello all,
I am currently working on a project in OpenFoam version-6, involving a 3D hollow cylindrical domain, as depicted in Figure-1, with specific initial and boundary conditions. I possess a separate notepad file containing some values for pressure, temperature, and velocity, which I have attached as NotepadData. My goal is to incorporate this data into the domain, as shown in Figure-2. How to write a script that can effectively take this notepad data and integrate it into the domain. I am aware that I need to utilize setFields, but I lack the knowledge to create the necessary script for this task. Is there any tutorial available for this kind of task? I kindly request any guidance or insights from the community members experienced in this area.
__________________
Regards, Niyas Last edited by niyas; October 15, 2023 at 21:12. |
|
October 14, 2023, 04:12 |
|
#2 |
Senior Member
andy
Join Date: May 2009
Posts: 322
Rep Power: 18 |
What you need to do will depend on whatever CFD solver you are using. It might be a script in python, lua, javascript or something invented, a text or binary file in a particular format with an entry somewhere naming the file or possibly something else.
|
|
October 15, 2023, 21:10 |
|
#3 |
Member
Niyas
Join Date: Apr 2013
Posts: 45
Rep Power: 13 |
Thanks for the reply.
Sorry, I forgot to mention about the CFD solver. I am using OpenFOAM version -6.
__________________
Regards, Niyas |
|
Tags |
openfoam 6, script |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] How to get the coordinates of velocity data at all cells and at all times | vidyadhar | ParaView | 9 | May 20, 2020 21:06 |
Monte Carlo Simulation: H-Energy is not convergating & high Incident Radiation | volleyHC | CFX | 5 | April 3, 2016 06:41 |
Floating point exception: Zero divide | liladhar | CFX | 11 | December 16, 2013 05:07 |
injection problem | Mark New | FLUENT | 0 | August 4, 2013 02:30 |
2d irregular grid | Remy | Main CFD Forum | 1 | December 22, 2008 05:49 |