open-atmos / wrf-partmc Goto Github PK
View Code? Open in Web Editor NEWRepository for the particle-resolved aerosol model PartMC coupled to the Weather Research and Forecasting (WRF) model
Repository for the particle-resolved aerosol model PartMC coupled to the Weather Research and Forecasting (WRF) model
I noticed the repository version of the diffusion code still has the lower probability bound on vertical turbulent diffusion in interface/wrf_pmc_trans_aero.F90
. This was leading to hanging simulations and appears to occur earlier as we increase the number of particles. Adding the following commented lines (starting around line 1510) seems to fix the issue:
do k = pmc_ks,pmc_ke if (k .ne. k_index) then prob = env_state%prob_vert_diffusion(k,i_class) ! if (prob > 1.0d-6) then dest_vol = env_states(i_index,k,j_index)%cell_volume flux = prob * num_conc_old num_conc_new(i_index,k,j_index) = & num_conc_new(i_index,k,j_index) + flux * & (dest_vol / source_vol) num_conc_new(i_index,k_index,j_index) = & num_conc_new(i_index,k_index,j_index) - flux ! end if end if end do
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.