# cylinder generation using python script in paraview

**URL:** https://discourse.paraview.org/t/cylinder-generation-using-python-script-in-paraview/15874
**Category:** ParaView Support
**Tags:** python
**Created:** [December 17, 2024, 2:14pm UTC](https://discourse.paraview.org/t/cylinder-generation-using-python-script-in-paraview/15874 "2024-12-17T14:14:05Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![chungyin\_cheng](https://discourse.paraview.org/user_avatar/discourse.paraview.org/chungyin_cheng/32/15685_2.png) [@chungyin\_cheng](https://discourse.paraview.org/u/chungyin_cheng)
#### Post date: [December 17, 2024, 2:14pm UTC](https://discourse.paraview.org/t/cylinder-generation-using-python-script-in-paraview/15874/1 "2024-12-17T14:14:05Z")

</div>

Hello everyone! now i am doing a simulation about flow past a 2D circular cylinder by input the python script. The problem i facing is the simulation in the Paraview does not work. where i can set the running time for my simulation? I am just a beginner of python and Paraview.

 ![Screenshot from 2024-12-17 22-12-00](https://discourse.paraview.org/uploads/default/original/2X/4/44c39da3a1ef454fdcd5a0036a93c768bc20cf60.jpeg)  
Here is the cylinder python script.  
[cylinder\_2d.py](https://discourse.paraview.org/uploads/short-url/s3FZycsWheUpW8NLMyVNlzYHtXy.py) (6.6 KB)

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [December 17, 2024, 3:10pm UTC](https://discourse.paraview.org/t/cylinder-generation-using-python-script-in-paraview/15874/2 "2024-12-17T15:10:45Z")

</div>

Looks like your script comes from [modulus-sym/examples/cylinder/cylinder\_2d.py at main · NVIDIA/modulus-sym · GitHub](https://github.com/NVIDIA/modulus-sym/blob/main/examples/cylinder/cylinder_2d.py)

You may want to ask them, ParaView is just a post processing tool, not a simulation engine.
