Commit Graph

15 Commits

Author SHA1 Message Date
Magne Sjaastad
cc292b197a
Result Divided by Area: Establish concept used to compute flow velocity and normalized trans (#7349)
* Geometry Tools : Add convenience functions for polygon area

* #7232 Result Divided by Area: Add cell face result and show in GUI

Native support for flow rate is given by mass rate (mass per time) over a cell face. Add a derived result that takes flow rate divided by cell face area to get velocity (distance per time).

Add support for this concept on relevant native results, and indicate this result type in UI using a "/A" postfix

* Speed up divided-by-area calculations by using openmp

* Some refactoring of result data access.

* Make sure NNC data is scaled correctly in vector flow viz.

Co-authored-by: jonjenssen <jon@soundsoft.no>
2021-02-11 03:01:17 +01:00
Magne Sjaastad
1bacd41037
Add Python linting using black (#7276) 2021-01-26 20:48:01 +01:00
Magne Sjaastad
0ec612ae86
Create LGR : Use all well cells if no completions are defined (#7285)
* #7274 Create LGR : Use all well cells if no completions are defined

* #7263  Create LGR : Not working in console mode 

Guard access to RiaApplication

* Add pytest for create_lgr_for_completion

* Add pytest for create_lgr_for_completion

* #7289 Script : Add execute of last used script

* #7291 Python : Guard access to RiaMainWindow
2021-01-26 20:34:31 +01:00
Gaute Lindkvist
0d3ea8ede1 Add new passthrough module for rips generated_classes and refactor imports 2021-01-21 20:10:14 +01:00
Gaute Lindkvist
a2ee4c8fef Add a new pass-through module for resinsight_classes.py to aid documentation 2021-01-21 20:10:14 +01:00
Gaute Lindkvist
861577922a Make CMake-setup for python sources work 2021-01-21 20:10:14 +01:00
Gaute Lindkvist
ecd6366e88 Update load_case.py and open_project.py to use test model path in install folder 2021-01-15 15:42:26 +01:00
Gaute Lindkvist
0ee915b598 Another Python example 2021-01-15 15:42:26 +01:00
Gaute Lindkvist
8914ae106c #7199 add protobuf and wheel to rips requirements 2021-01-13 15:38:11 +01:00
Gaute Lindkvist
e1a6c4ef65 #7200 Add important Python examples 2021-01-13 15:38:11 +01:00
Magne Sjaastad
9468c673fe Command line arguments : Add null pointer guards 2021-01-12 21:57:09 +01:00
Gaute Lindkvist
493f257e5e Fix wrong use of "is" and "is not" in Python if-statements 2021-01-12 11:23:30 +01:00
Kristian Bendiksen
39e678ae81 Remove target_link_directories calls.
The link directories are handled by target_link_libraries.
2021-01-12 11:05:53 +01:00
Gaute Lindkvist
04d5daca67 Create a new ApplicationExe project for the executable 2021-01-11 15:27:45 +01:00
Gaute Lindkvist
2de5c9ce0b Move GrpcInterface into top level 2021-01-11 15:27:45 +01:00