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
Segmentation fault when using displaced mesh with NS kernels #5959
Comments
I'm not sure what's going on here... I just wanted to report that the whole team is REALLY busy right now so don't be discouraged if we are a bit slow to respond! This looks like a really cool application, and I'll take a look into this soon (if someone else doesn't get to it first). |
I just downloaded your mesh and executed "with_ns_displacement.i" and did not receive a seg. fault:
|
Sorry Andrew, [GlobalParams] Dummy parametersgravity = '0 0 0' [Mesh] [Variables] x-velocityy-velocityPressure[./vel_x] [Functions] [Kernels] massx-momentum, timex-momentum, spacey-momentum, timey-momentum, spaceactive = 'y_momentum_space tdy x_momentum_space tdx mass td' [BCs] [Postprocessors] [Preconditioning] [Executioner] type = Steadytype = Transient [Outputs] [ICs] |
Without this change these kerenls seg. fault in 2D, the _grad_w_vel is not size properly with _qp (_grad_w_vel.size() = 0). I am not sure why this happens, but using the default system fixes the problem. (closes idaholab#5959)
…g system Without this change these kerenls seg. fault in 2D, the _grad_w_vel is not size properly with _qp (_grad_w_vel.size() = 0). I am not sure why this happens, but using the default system fixes the problem. (closes idaholab#5959)
Hi,
I'm working on a Navier-Stokes simulation in a granular rock matrix that looks at the effects of grain's dilation on permeability (calculated with Darcy's Law).
I use the variables disp_x and disp_y to make my grains swell but Navier Stokes flow is not affected by the swelling!
Although the velocity should increase in the channels that are tightening.
I figured out that I have to put in my Mesh block: displacements = 'disp_x disp_y'
and put in everything that operates spatially: use_displaced_mesh = true
In my input file, it means BC, Kernels and Postprocessors.
But when I turn everything on, I got a segmentation fault.
So I tried to localise the problem and realise that the only things that are not working with use_displaced_mesh = true are the Navier Stokes kernels.
For an example of usage, you can follow my post on the mailing list:
https://groups.google.com/forum/#!topic/moose-users/KvJZvdritew
Cheers,
Martin Lesueur
The text was updated successfully, but these errors were encountered: