Sample app parametric bridge design with SCIA



Parametric bridge design with SCIA
Use this open-source sample application to parametrically design bridge models through an integration with SCIA, without opening the SCIA interface at all. The sample app provides a clear visualization of the bridge, and it generates an engineering report in PDF. It is also possible to use the functionality within your own Python code.
Download the white paper and get INSPIRED

Collaborative parametric design models allow you to work together for better solutions

Using the functionality

There are two ways in which you can use the 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 the integration with SCIA yourself.

This is a snippet of the functionality’s code from the VIKTOR GitHub repository:

1@PDFView("PDF View", duration_guess=20) 2def execute_scia_analysis(self, params, **kwargs): 3 """ Perform an analysis using SCIA an a third-party worker and generate engineering.""" 4 scia_model = scia_model_helper.create_scia_model(params) 5 input_file, xml_def_file = scia_model.generate_xml_input() 6 scia_model_esa = self.get_scia_input_esa() 7 8 scia_analysis = SciaAnalysis(input_file=input_file, xml_def_file=xml_def_fle, scia_model=scia_model_esa, result_type=ResultType.ENGINEERING_REPORT, output_document='Report_1') 9 10 scia_analysis.execute(timeout=600) 11 engineering_report = scia_analysis.get_engineering_report(as_file=True) 12 13 return PDFResult(file=engineering_report)

In this method the SCIA model is created and an API call is made to the running worker. This worker makes a connection to SCIA and generates a engineering report as a PDF file.

In the video, you can see how a bridge is parametrically designed with SCIA in a VIKTOR application in the demo environment.

Apply for a demo account to get access to this and all other VIKTOR sample applications.

Parametric bridge design in 3 steps

As you can see in the video, the process of parametrically designing a bridge and creating a SCIA model consists of three steps. Thanks to the step-functionality, users can better navigate the application, which improves the overall experience of using the app.

  1. Defining the layout of the bridge. In this step, you define the length, width, hight, thickness of the deck, and number of supports (aligned with number of lanes).

Parametric bridge design with SCIA

Defining the layout of the bridge

  1. Defining the bridge foundations. In this step, you define the pile lengths, angles, and width, deck load, and soil stiffness. You can also download the .xml, .xml.def, .esa files to use in SCIA.

parametric bridge design with SCIA

Defining the bridge foundations

  1. Analyzing the engineering report. In this step, you visualize a 2D model of the geometry with the determined loads automatically in your application from SCIA.

Parametric bridge design with SCIA

Analyzing the engineering report

Use the free version or apply for a demo account to try the functionality yourself!

illustration of free trial

Start building apps now

Try for free

Related Blog Posts

Hackathon stimulates knowledge development

Read more
automate chemical engineering web application

Molecule visualization and initial value problems sample apps

Read more
Automatic machine learning sample app

Sample app automatic machine learning

Read more

Free Trial

Start building apps now
Try for free