-
Notifications
You must be signed in to change notification settings - Fork 16
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
h.get_temp_map throwing value error #124
Comments
Hi @hannan0786 , Thanks for reporting this error and your willingness to move to open-source software :) I think I could locate the origin of your error, and yes, it is kind of silly ... In your example, you create a Without adding the Another approach is to use Hope that solves your problem, but do not hesitate to ask for further help Best Daniel |
Hi Daniel,
I excite with the following laser pulse
I am constantly been shown the following error ValueError: cannot reshape array of size 255136 into shape (3002,112,2) |
Hi @hannan0786 ,
Just to make things clear, the behaviour in the 2TM and even phonon dynamics does not differ if you define both the
Unfortunately, the code can not guess what you are aiming at ;)
I have reproduced your example and for the exact same parameters, I do not get the error message. However, when I increase the fluence to 1000 mJ/cm² I get the same message. The results for your current parameters look okay to me, at least when you zoom into the delay range by a factor of 100: But in general, the temperatures are very high, especially for the phonons this is not realistic. Best Daniel |
This is something which I didn't presume. For the two-temperature model in crystalline semiconductors should consider the crystal symmetry, anisotropy, and phonon dispersion relations. The last one I guessed being considered in how you have modelled it. 1000mJ/cm² is a very common laser fluence when working with high NA objectives. Far above the plastic deformation regime but an ordinary laser processing fluence.
I messed up while reading how to create a mixed atom if it is not passed to the lattice where it is invoked later. I still get the same error for anything above 30mJ/cm². |
None of these properties is included explicitly. The simulation is 1D which excludes the first to properties.
I think, here, we have a large discrepancy: the fluence in this code is simply defined as However, I still do not get, why are receiving errors at 30mJ/cm² and I don't. |
Thanks Daniel. I was using a processing guy's Jargonised fluence term which is the peak fluence and is function of the Pulse Duration. As we want maximal energy density per unit area (at beam center). I am starting to play around but it seem the errors now are more to deal with my system limitations if am not wrong. ```MemoryError:` Unable to allocate 916. MiB for an array with shape (30000000, 4) and data type float64 |
yes that seems like a problem with your available memory. For the number of layers you can also reduce the spatial grid by the |
I am closing this issue for now. Do not hesitate to reopen it in case you still face any related problems. |
#Here are my material properties
then setting the following excitation parameters
use the following grid
Calculating the temperature map is where am stuck
Here am get the following value error: array must not contain infs or NaNs
Could you please assist me here. I am trying to move from COMSOl to this package as am extremely impressed by the chain of functionality it offers. It might be a silly mistake.
The text was updated successfully, but these errors were encountered: