-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update sim_ns_incomp_2d.py and corresponding config file #36
Comments
Hey @zli96, |
@kmario23 Of course! How do you want me to share it? |
Could you please post it on a gist and share the link here? |
Here is the gist: Please let me know if you need more information. |
I've encountered 3 issues trying to run
gen_ns_incomp.py.
ns_incomp.yaml
:force_smoothness
,force_scale
,domain_size
andenable_gravity
. When I runpython gen_ns_incomp.py
it says those keyword arguments are not recognizable. Also, withscale=0.4
, the particles field seem to be all nan, which leads to Phiflow error saying that the solver cannot converge. I tried setting it to 1 and that seemed to a least generate some output.sim_ns_incomp_2d.py
with the newest version of PhiFlow. I got around this issue by changing it toreturn Box['x,y', :, 0:y]
save_images=true
andsave_gif=true
inns_incomp.yaml
, I got an error from line 186 ofsim_ns_incomp_2d.py
which isparticles_images.append()
which appends nothing to theparticles_image
. Similar thing happens in line 187. I'm not sure how to get around this issue yet.The text was updated successfully, but these errors were encountered: