Describe the bug
When trying to create a simple atmosphere I receive an error that states:
ERROR: UndefVarError: SimpleAtmosphere not defined in Main
To Reproduce
Below is the code I'm running as a test:
using GasDispersion
s = SimpleAtmosphere()
Expected behavior
I expect to not receive this error. Other functionality has worked just fine. For example I was able to create a substance. The code below works just fine for me:
using GasDispersion
chem = Substance(
name="sarin",
gas_density = (101325 * 0.140093) / (8.314 * 273.15),
liquid_density=1094.3,
boiling_temp=420.0,
latent_heat=262682.27,
gas_heat_capacity=1271.318,
liquid_heat_capacity=1584.517
)
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Windows 11 Home
- Browser: I'm running a .jl file in VS code. I've also tried running this in a Pluto notebook in chrome.
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context
I've tried the following:
GasDispersion.SimpleAtmosphere(), this doesn't work.
I've also tried manually locating the simple_atmosphere.jl src file, and running it by using an include statement:
atmos = include("simple_atmosphere.jl src file path") but then I receive the following error:
LoadError: UndefVarError: DIPPRVaporPressure not defined in Main.var"workspace#34"
Describe the bug
When trying to create a simple atmosphere I receive an error that states:
ERROR: UndefVarError:
SimpleAtmospherenot defined inMainTo Reproduce
Below is the code I'm running as a test:
using GasDispersion
s = SimpleAtmosphere()
Expected behavior
I expect to not receive this error. Other functionality has worked just fine. For example I was able to create a substance. The code below works just fine for me:
using GasDispersion
chem = Substance(
name="sarin",
gas_density = (101325 * 0.140093) / (8.314 * 273.15),
liquid_density=1094.3,
boiling_temp=420.0,
latent_heat=262682.27,
gas_heat_capacity=1271.318,
liquid_heat_capacity=1584.517
)
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
I've tried the following:
GasDispersion.SimpleAtmosphere(), this doesn't work.
I've also tried manually locating the simple_atmosphere.jl src file, and running it by using an include statement:
atmos = include("simple_atmosphere.jl src file path") but then I receive the following error:
LoadError: UndefVarError:
DIPPRVaporPressurenot defined inMain.var"workspace#34"