ready for main merge
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
"cells": [
|
"cells": [
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 1,
|
"execution_count": 8,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 2,
|
"execution_count": 9,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
@@ -92,47 +92,9 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 3,
|
"execution_count": 10,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [
|
"outputs": [],
|
||||||
{
|
|
||||||
"name": "stdout",
|
|
||||||
"output_type": "stream",
|
|
||||||
"text": [
|
|
||||||
"The cuboid reservoir has the following attributes: \n",
|
|
||||||
"----------------------------- \n",
|
|
||||||
"Base area = 20.0 m² \n",
|
|
||||||
"Outflux area = 0.785 m² \n",
|
|
||||||
"Current level = 20.0 m\n",
|
|
||||||
"Critical level low = 0.0 m \n",
|
|
||||||
"Critical level high = inf m \n",
|
|
||||||
"Volume in reservoir = 400.0 m³ \n",
|
|
||||||
"Current influx = 0.0 m³/s \n",
|
|
||||||
"Current outflux = 2.0 m³/s \n",
|
|
||||||
"Current pipe pressure = 1447.306 Torr \n",
|
|
||||||
"Simulation timestep = 0.00025 s \n",
|
|
||||||
"----------------------------- \n",
|
|
||||||
"\n",
|
|
||||||
"The pipeline has the following attributes: \n",
|
|
||||||
"----------------------------- \n",
|
|
||||||
"Length = 1000.0 m \n",
|
|
||||||
"Diameter = 1.0 m \n",
|
|
||||||
"Number of segments = 10 \n",
|
|
||||||
"Number of nodes = 11 \n",
|
|
||||||
"Length per segments = 100.0 m \n",
|
|
||||||
"Pipeline angle = 0.201 rad \n",
|
|
||||||
"Pipeline angle = 11.537° \n",
|
|
||||||
"Darcy friction factor = 0.1 \n",
|
|
||||||
"Density of liquid = 1000 kg/m³ \n",
|
|
||||||
"Pressure wave vel. = 400.0 m/s \n",
|
|
||||||
"Simulation timestep = 0.25 s \n",
|
|
||||||
"Number of timesteps = 100 \n",
|
|
||||||
"Total simulation time = 25.0 s \n",
|
|
||||||
"----------------------------- \n",
|
|
||||||
"Velocity and pressure distribution are vectors and are accessible by the .v and .p attribute of the pipeline object\n"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"source": [
|
"source": [
|
||||||
"# create objects\n",
|
"# create objects\n",
|
||||||
"\n",
|
"\n",
|
||||||
@@ -155,7 +117,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 4,
|
"execution_count": 11,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
@@ -192,7 +154,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 5,
|
"execution_count": 12,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
@@ -275,7 +237,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 6,
|
"execution_count": 13,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
|
|||||||
Reference in New Issue
Block a user