CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

How to read velocity fields to do mathematical operations

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   July 18, 2016, 11:10
Default How to read velocity fields to do mathematical operations
  #1
New Member
 
Saddam Hijazi
Join Date: May 2016
Posts: 17
Rep Power: 9
SaddamH is on a distinguished road
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.
SaddamH is offline   Reply With Quote

 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 08:11.