You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree with Cameron, and if only two phases are simulated by using level set field, it then should be (index i should be 0 and 1, any explanation about why i=2 is appreciated.)
In
solver.inp
I have set:When the 'Body Force' vector is parsed here:
https://github.com/PHASTA/phasta/blame/06d45c3e23cf9519431c2d5c7bbad33ddf2fbe7a/phSolver/common/input_fform.cc#L484-L486
vec
is accessed well beyond the size of vector of length 3. Valgrind reports this as an invalid read:I suspect this should be:
The same pattern of invalid access appears for the "Body Force Pressure Gradient":
https://github.com/PHASTA/phasta/blame/06d45c3e23cf9519431c2d5c7bbad33ddf2fbe7a/phSolver/common/input_fform.cc#L492-L494
Am I missing something here?
The text was updated successfully, but these errors were encountered: