Open-source CPT comparison web app

VIKTOR

by VIKTOR

open-source CPT comparison geotechnical engineering
Use this open-source VIKTOR app code to easily compare CPT’s within moments of time. Geotechnical engineers can use this functionality for projects such as dike reinforcement, road construction, tunnels, building foundations, earthworks, wind energy, and more. Integrate the functionality within your own Python code or use it with a web application on the VIKTOR platform.
How to create successful application that ensure adoption
Build successful applications

Learn how you (developer, engineer, end-user, domain expert, project manager, etc.) can contribute to the creation of apps that provide real value to your work.

How to use the functionality?

There are two ways in which geotechnical engineers can use this functionality:

  1. With VIKTOR, out-of-the-box, using our free version
  2. Without VIKTOR, in that case you integrate with your own Python code and create a parser for the GEF file yourself.

Here you, we have a snippet of the application code. The following 6 lines of Python code allow you to easily import and read out GEF files within seconds. The full application code is available in our GitHub repository.

1from viktor.geo import GEFFile 2 3@ParamsFromFile(file_types=['.gef']) 4def process_file(self, file: File, **kwargs) -> dict: 5 """Process the CPT file when it is first uploaded""" 6 cpt_file = GEFFile(file.getvalue("ISO-8859-1")) 7 return cpt_data_object.serialize()

With VIKTOR, reading out GEF files is really easy. You simply add them to the GEF file object and use serialise to get a Python dictionary with all the results, ready to be used in your code. There is no need to implement a parser yourself. Instead, you can go straight to the application!

In the video you can see the functionality being used in a VIKTOR application.


CPT comparison in 4 steps

As you can see in the video, the process of comparing CPT’s with the functionality consists of only four steps:

  1. Upload GEF files
  2. Open the project
  3. Select the GEF files that you want to compare
  4. Click ‘update’ to generate the comparison

You can use the functionality to compare not only two but also multiple CPT’s. You can choose to compare them in separate graphs or in only one graph. Additionally, it is possible to select specific areas of a graph to zoom in and view in more detail. You can also plot the Rf signal that shows you the cone resistance and friction number.

Use our free version to start using this app!

illustration of free trial

Start building apps now

Try for free
Share

Related Blog Posts

Automate frame section creation in SAP2000 using Python and Excel

Read more

Easily Export and Visualize ETABS Model Results

Read more

How to calculate cross-section properties using Python

Read more