Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Droplet Deformation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AVT-FVT
public
Droplet Deformation
Commits
acd113c3
Commit
acd113c3
authored
2 months ago
by
ssibirtsev
Browse files
Options
Downloads
Patches
Plain Diff
Upload New File
parent
4809037a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
script/DropDeform_config.py
+62
-0
62 additions, 0 deletions
script/DropDeform_config.py
with
62 additions
and
0 deletions
script/DropDeform_config.py
0 → 100644
+
62
−
0
View file @
acd113c3
"""
Droplet Deformation (DropDeform)
Determine droplet deformation into Polyhedron Shape.
Source code of DropDeform: https://git.rwth-aachen.de/avt-fvt/public/droplet-deformation/
The source code of DropDeform is licensed under the Eclipse Public License v2.0 (EPL 2.0).
Copyright (c) 2025 Fluid Process Engineering (AVT.FVT), RWTH Aachen University.
Written by Stepan Sibirtsev
The coyprights and license terms are given in LICENSE.
In this script configurations for the DropDeform_main.py script are set.
Script version date: 06.01.2025
"""
# Number of steps in pressure and droplet diameter
n_steps
=
10
# Minimum pressure [Pa]
p_min
=
0.2
# Maximum pressure [Pa]
p_max
=
200
# Minimum droplet diameter [µm]
d_min
=
150
# Maximum droplet diameter [µm]
d_max
=
1500
# Minimum interfacial tension [mN/m]
sigma_min
=
2
# Maximum interfacial tension [mN/m]
sigma_max
=
50
# Output Excel file with the simulation data of the droplet deformation.
# Default: Test
name_output_file
=
'
Test
'
# Fitting method for the Bond number correlation
# 0 = fit each polyhedron shape individualy, 1 = fit general parameters to all polyhedron shapes
fit_meth
=
1
# Transform Bond numbers of the results to logarithmic scale to achieve a more even distribution of the data?
log_scale
=
True
# Number of bins to choose an equal number of randomly chosen iterative solution results within these bins
n_bins
=
200
# Display solver warnings? False = no, True = yes
# Useful for developers.
# Default: False
display_solver_warnings
=
False
# Gravitational constant g[m/s²]
grav
=
9.81
# Value next to zeroto avoid numerical iussues during simulation
zero
=
1e-9
"""
Configuration ends here
"""
# Assign parameter to int and float
n_steps
=
int
(
n_steps
)
fit_meth
=
int
(
fit_meth
)
n_bins
=
int
(
n_bins
)
p_min
=
float
(
p_min
)
p_max
=
float
(
p_max
)
d_min
=
float
(
d_min
/
1e+6
)
d_max
=
float
(
d_max
/
1e+6
)
sigma_min
=
float
(
sigma_min
/
1e+3
)
sigma_max
=
float
(
sigma_max
/
1e+3
)
grav
=
float
(
grav
)
zero
=
float
(
zero
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment