CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[General] Apply a function to a field to scale it with time

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 22, 2016, 12:33
Default Apply a function to a field to scale it with time
  #1
New Member
 
Pierre
Join Date: Oct 2011
Posts: 15
Rep Power: 14
pilafa is on a distinguished road
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
pilafa is offline   Reply With Quote

Reply


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
[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


All times are GMT -4. The time now is 09:22.