1
Fork 0

Update setFields to get U field

This commit is contained in:
Edgar P. Burkhart 2022-04-12 10:39:11 +02:00
parent e49eda3d04
commit b6985ced0f
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
2 changed files with 1 additions and 2 deletions

View file

@ -35,7 +35,7 @@ regions
} }
boxToCell boxToCell
{ {
box (-100 0 0) (-100 1 1); box (-110 -100 0) (-100 100 1);
fieldValues fieldValues
( (

View file

@ -61,4 +61,3 @@ for zk_l, velk_l, vz_l in zip(zk_tl, velk_t, vz_t):
model.write_field("alpha.water", alpha_water) model.write_field("alpha.water", alpha_water)
model.write_vector_field("U", np.stack((ux, uy, uz)).T) model.write_vector_field("U", np.stack((ux, uy, uz)).T)
plt.savefig("test.pdf")