We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The issue is caused in this line:
jax-am/src/cfd/setupAM.py
Line 29 in 78d5008
TypeError Traceback (most recent call last) /home/xie/projects/jax-am/src/cfd/examples/AM/AM_basic.ipynb Cell 7 in <cell line: 4>() [2] T0 = np.zeros_like(xc) + T_ref [3] T0_top = T0[:,:,[-1],:] ----> [4] k = update_cond(cond_func,T0,[[1,1,1,1,1,1],[0.,0.,0.,0.,0.,0]],dX) [5] dt = 1e-5 [6] t = 0.
File ~/projects/jax-am/src/cfd/setupAM.py:29, in update_cond(temp_dependent_cond, T, BCs, dX) 28 def update_cond(temp_dependent_cond,T,BCs,dX): ---> 29 T_bc = get_bound_values(T,BCs,dX) 30 cond_surf_x = np.concatenate((temp_dependent_cond((T_bc[0]+T[[0],:,:])/2.), 31 temp_dependent_cond((T[1:,:,:] + T[:-1,:,:])/2.), 32 temp_dependent_cond((T_bc[1]+T[[-1],:,:])/2.)),axis=0) 34 cond_surf_y = np.concatenate((temp_dependent_cond((T_bc[2]+T[:,[0],:])/2.), 35 temp_dependent_cond((T[:,1:,:] + T[:,:-1,:])/2.), 36 temp_dependent_cond((T_bc[3]+T[:,[-1],:])/2.)),axis=1)
TypeError: get_bound_values() missing 1 required positional argument: 'values'
The text was updated successfully, but these errors were encountered:
Merge pull request #1 from jinchoi-git/master
dadabbe
minor change in PF workflow
Merge pull request #1 from DrZGan/DrZGan-phasefield
26c166c
Add files via upload
No branches or pull requests
The issue is caused in this line:
jax-am/src/cfd/setupAM.py
Line 29 in 78d5008
TypeError Traceback (most recent call last)
/home/xie/projects/jax-am/src/cfd/examples/AM/AM_basic.ipynb Cell 7 in <cell line: 4>()
[2] T0 = np.zeros_like(xc) + T_ref
[3] T0_top = T0[:,:,[-1],:]
----> [4] k = update_cond(cond_func,T0,[[1,1,1,1,1,1],[0.,0.,0.,0.,0.,0]],dX)
[5] dt = 1e-5
[6] t = 0.
File ~/projects/jax-am/src/cfd/setupAM.py:29, in update_cond(temp_dependent_cond, T, BCs, dX)
28 def update_cond(temp_dependent_cond,T,BCs,dX):
---> 29 T_bc = get_bound_values(T,BCs,dX)
30 cond_surf_x = np.concatenate((temp_dependent_cond((T_bc[0]+T[[0],:,:])/2.),
31 temp_dependent_cond((T[1:,:,:] + T[:-1,:,:])/2.),
32 temp_dependent_cond((T_bc[1]+T[[-1],:,:])/2.)),axis=0)
34 cond_surf_y = np.concatenate((temp_dependent_cond((T_bc[2]+T[:,[0],:])/2.),
35 temp_dependent_cond((T[:,1:,:] + T[:,:-1,:])/2.),
36 temp_dependent_cond((T_bc[3]+T[:,[-1],:])/2.)),axis=1)
TypeError: get_bound_values() missing 1 required positional argument: 'values'
The text was updated successfully, but these errors were encountered: