|
[Sponsors] |
[General] Apply a function to a field to scale it with time |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 22, 2016, 12:33 |
Apply a function to a field to scale it with time
|
#1 |
New Member
Pierre
Join Date: Oct 2011
Posts: 15
Rep Power: 14 |
Hi,
I have a certain result file that contains time data. I have, let say 50 time steps, with results changing over time. I create a new result filed using the Calculator. To simplify, let say that the result is a uniform unitary vector: VEC=(iHat+jHat+kHat). When I plot the norm of VEC, I see a uniform field of 1. That's what was expected. The problem is that VEC is 1 for all the time steps. I would like to have: t=0 -> VEC=0 t=25 -> VEC=0.5 t=50 -> VEC=1.0 In other words, apply a ramp function to VEC to scale it with time. Any filter or work around to achieve that? Thanks, Pierre |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[General] Extracting ParaView Data into Python Arrays | Jeffzda | ParaView | 30 | November 6, 2023 21:00 |
''unknown radialModelType type Gidaspow'' PROBLEM WITH THE BED TUTORIAL | AndoniBM | OpenFOAM Running, Solving & CFD | 2 | March 25, 2015 18:44 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 06:20 |
How to write k and epsilon before the abnormal end | xiuying | OpenFOAM Running, Solving & CFD | 8 | August 27, 2013 15:33 |
Error with Wmake | skabilan | OpenFOAM Installation | 3 | July 28, 2009 00:35 |