| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134 |
- # https://github.com/flnt/Flower.jl/tree/electrolysis
- git clone -b electrolysis https://github.com/flnt/Flower.jl
- # dans le dossier /usr/local/var/test
- julia --project=../Flower.jl -e 'using Pkg; Pkg.instantiate()'
- LD_LIBRARY_PATH :/usr/lib/x86_64-linux-gnu
- python3 ../../../Flower.jl/examples/flower_post_proc.py ../../../Flower.jl/examples/convergence_diffusion_constant_conductivity_bubble_wall_Newton.yml --func plot_all_fig_func --h5 flower_00000001.h5 --name current_lines
- julia +1.10.5 --project=../Flower.jl --threads=1 ../Flower.jl/examples/convergence.jl ../Flower.jl/examples/convergence_diffusion_constant_conductivity_bubble_wall_Newton.yml
- Pour le Makefile
- # Initialise les dépendances Julia (à lancer une fois au démarrage du conteneur)
- init:
- xvfb-run --auto-servernum --server-args="-screen 0 1920x1080x24 -nolisten tcp" julia --project=../Flower.jl -e 'using Pkg; Pkg.instantiate(); Pkg.precompile()'
- # Votre commande de run existante
- run-convergence:
- xvfb-run --auto-servernum --server-args="-screen 0 1920x1080x24 -nolisten tcp" julia --project=../Flower.jl --threads=1 ../Flower.jl/examples/convergence.jl ../Flower.jl/examples/convergence_diffusion_constant_conductivity_bubble_wall_Newton.yml
-
-
- coder@651071fc97ae:/usr/local/var/test$ xvfb-run --auto-servernum --server-args="-screen 0 1920x1080x24 -nolisten tcp" julia --project=../Flower.jl --threads=1 ../Flower.jl/examples/convergence.jl ../Flower.jl/examples/convergence_diffusion_constant_conductivity_bubble_wall_Newton.yml
- YAML file ../Flower.jl/examples/convergence_diffusion_constant_conductivity_bubble_wall_Newton.yml
- number of points [32, 64, 128]
- Print parameters from yml file
- elec_cond : 1.36e+02
- Re : 1.00e-01 1.49e+06 1.26e+03 8.43e-04
- 'Re' i.e. rho/mu : 1.49e+06 1.49e+06 1.26e+03 8.43e-04
- WARNING no scalar transport
- nb_transported_scalars: 0
- diffusion time [1.7241379310344829, 3.125, 3.125]
- end Print parameters from yml file
- [20:00:09][Decl'HDF5] *** info: Plugin loaded successfully
- [20:00:09][PDI] *** info: Initialization successful
- PDI INIT status 0
- Timestep 0.0001
- mesh ratio 1
- nx 32 ny 32
- ns_advection trueERROR: LoadError: UndefVarError: `safefill_with_aliases_and_extra_already_init` not defined in `Main`
- Suggestion: check for spelling errors or missing imports.
- Stacktrace:
- [1] top-level scope
- @ /usr/local/var/Flower.jl/examples/convergence.jl:341
- [2] include(mod::Module, _path::String)
- @ Base ./Base.jl:306
- [3] exec_options(opts::Base.JLOptions)
- @ Base ./client.jl:317
- [4] _start()
- @ Base ./client.jl:550
- in expression starting at /usr/local/var/Flower.jl/examples/convergence.jl:228
- [20:00:19][PDI] *** info: Finalization
- [20:00:19][Decl'HDF5] *** info: Closing plugin
- coder@651071fc97ae:/usr/local/var/test$ xvfb-run --auto-servernum --server-args="-screen 0 1920x1080x24 -nolisten tcp" julia --project=../Flower.jl --threads=1 ../Flower.jl/examples/convergence.jl ../Flower.jl/examples/convergence_diffusion_constant_conductivity_bubble_wall_Newton.yml
- YAML file ../Flower.jl/examples/convergence_diffusion_constant_conductivity_bubble_wall_Newton.yml
- number of points [32, 64, 128]
- Print parameters from yml file
- elec_cond : 1.36e+02
- Re : 1.00e-01 1.49e+06 1.26e+03 8.43e-04
- 'Re' i.e. rho/mu : 1.49e+06 1.49e+06 1.26e+03 8.43e-04
- WARNING no scalar transport
- nb_transported_scalars: 0
- diffusion time [1.7241379310344829, 3.125, 3.125]
- end Print parameters from yml file
- [17:29:11][Decl'HDF5] *** info: Plugin loaded successfully
- [17:29:11][PDI] *** info: Initialization successful
- PDI INIT status 0
- Timestep 0.0001
- mesh ratio 1
- nx 32 ny 32ERROR: LoadError: KeyError: key :bulk_velocity not found
- Stacktrace:
- [1] getindex(h::Dict{Symbol, Any}, key::Symbol)
- @ Base ./dict.jl:477
- [2] getindex
- @ ~/.julia/packages/PropertyDicts/Y5nQe/src/PropertyDicts.jl:205 [inlined]
- [3] getproperty(pd::PropertyDict{Symbol, Any, Dict{Symbol, Any}}, k::Symbol)
- @ PropertyDicts ~/.julia/packages/PropertyDicts/Y5nQe/src/PropertyDicts.jl:238
- [4] top-level scope
- @ /usr/local/var/Flower.jl/examples/convergence.jl:323
- [5] include(mod::Module, _path::String)
- @ Base ./Base.jl:306
- [6] exec_options(opts::Base.JLOptions)
- @ Base ./client.jl:317
- [7] _start()
- @ Base ./client.jl:550
- in expression starting at /usr/local/var/Flower.jl/examples/convergence.jl:228
- [17:29:24][PDI] *** info: Finalization
- [17:29:24][Decl'HDF5] *** info: Closing plugin
- include("navier_stokes_coupled_pressure_velocity.jl")
- include("navier_stokes_coupled.jl")
- include("electrolysis_2.jl")
- include("electrolysis_tests.jl")
- include("electrolysis_print.jl")
- include("run_profile.jl") #for profiling
- include("solve_one_fluid.jl")
- include("compute_mass_transfer_rate.jl")
- include("test_functions.jl")
- include("post_processing.jl")
|