|
[Sponsors] |
How to read velocity fields to do mathematical operations |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 18, 2016, 11:10 |
How to read velocity fields to do mathematical operations
|
#1 |
New Member
Saddam Hijazi
Join Date: May 2016
Posts: 17
Rep Power: 9 |
Hello all, I want to do some post processing stuff in openfoam where I am trying to write a routine in C language that reads a matrix and velocity fields written in openfoam format and what I need to do is just to multiply each velocity vectors of them by an element of the matrix which I read and then sum up all of them and write the result back in openfoam format, I have my velocity files and the matrix all in the 0 folder of the simulation, so could help me in giving directions in how to do that.
Thank you very much. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] How to read in fields from previous time-steps in swak4foam | Mehrez | OpenFOAM Community Contributions | 8 | May 24, 2016 16:36 |
Question on Pressure and Velocity Fields with SIMPLE algorithm | Phiper | Main CFD Forum | 0 | November 18, 2010 18:29 |
UDF for space-filtering 3-D velocity fields | Xianmin | FLUENT | 0 | April 11, 2008 20:58 |
How to read a file with inlet velocity data? | dorin | CFX | 13 | July 20, 2007 02:16 |
what the result is negatif pressure at inlet | chong chee nan | FLUENT | 0 | December 29, 2001 05:13 |