|
[Sponsors] |
[OpenFOAM] Changing the field by a certain value |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 2, 2018, 04:08 |
Changing the field by a certain value
|
#1 |
Member
Join Date: Jun 2017
Posts: 73
Rep Power: 8 |
Hi,
I would like to know if it is somehow possible to multiplikate my entire field with a certain value, like 2.5. Is this possible directly in paraview? I want to multiplicate my pressure Field with 2.5. So I type in the calulate p*1.2 but nothing happens. Best regards, Friendly |
|
February 2, 2018, 11:15 |
|
#2 |
New Member
Forge Analytics
Join Date: Jan 2018
Posts: 16
Rep Power: 8 |
The complete steps should be:
1) select your input source 2) apply the calculator filter 3) set the result array name for the calculator 4) set the calculator equation to p*2.5 5) press Apply for the filter 6) ensure your representation in the dropdown matches your new calculator name, and that the visible data in your Pipeline Browser is correct You've done all of these things and still have an incorrect result? Note that if you're auto-scaling your legend the color representation may not change in your RenderView, but the legend range may update automatically.
__________________
https://forgeanalytics.io/ | Data Management for Scientists and Engineers |
|
February 2, 2018, 15:45 |
|
#3 |
Member
Join Date: Jun 2017
Posts: 73
Rep Power: 8 |
Hi,
thanks for your advice! I think I have done it exactly like you said, but nothing changed. The array name was "result" in my case. Should I have changed it to p? Maybe this was my mistake, but I can only check it on monday. |
|
February 2, 2018, 18:08 |
|
#4 |
New Member
Forge Analytics
Join Date: Jan 2018
Posts: 16
Rep Power: 8 |
You can give the calculator result any name you like. "Result" is the default. My only point was to ensure that you were looking at the correct field in your render view.
Let us know how it goes.
__________________
https://forgeanalytics.io/ | Data Management for Scientists and Engineers |
|
February 12, 2018, 10:29 |
|
#5 |
Member
Join Date: Jun 2017
Posts: 73
Rep Power: 8 |
Hello,
sry for my late response. I could only test it today due to other things I had to do. It works well now. I dont know what I did wrong to be honest, but I have no troubles now. Thank you very much! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
loading issue libraries:libsimpleFunctionObjects.so libsimpleSwakFunctionObjects.so | immortality | OpenFOAM Pre-Processing | 15 | April 7, 2024 12:35 |
funkySetBoundaryFields - Manipulation of existing field | jhertel | OpenFOAM Pre-Processing | 16 | May 18, 2020 06:32 |
Store data in a different field from a custom BC | cstuart | OpenFOAM Programming & Development | 0 | March 21, 2017 10:14 |
''unknown radialModelType type Gidaspow'' PROBLEM WITH THE BED TUTORIAL | AndoniBM | OpenFOAM Running, Solving & CFD | 2 | March 25, 2015 18:44 |
[PyFoam] Problems with the new PyFoam release | zfaraday | OpenFOAM Community Contributions | 13 | December 9, 2014 18:58 |