Hi,
I found Moltres application utilizing DerivativeParsedMaterial for
"temp" variable as provided in this test example
https://github.com/arfc/moltres/blob/devel/tests/twod_axi_coupled/auto_diff_rho.i.
Now, if INSMomentumTimeDerivative kernel (with variables vel_x and
vel_y) for 2D has to take density evaluated from phase field
calculations as written in the code of first post
[./x_momentum_time]
type = INSMomentumTimeDerivative
variable = vel_x
[../]
[./y_momentum_time]
type = INSMomentumTimeDerivative
variable = vel_y
[../]
[./rho]
type = DerivativeParsedMaterial
args = 'c'
f_name = 'rho' #How is this coupled to INSMomentumTimeDerivative kernel?
constant_names = 'rho_l rho_s lambda_rho'
constant_expressions = '1 1 1.29e-3'
function = '1*((c)^2)^0.5+1*(1-((c)^2)^0.5)*lambda_rho'
derivative_order = 0
outputs = exodus
output_properties = 'rho'
[../]
Please elaborate on how the kernel and material class interact.
Yours Sincerely
Anil Kunwar
On 2/12/18, anil kunwar <
romagu...@gmail.com> wrote:
> When I run this input file , the INSMomentumTimeDerivative kernel cannot
> find , density from DerivativeParsedMaterial class.
> *** ERROR ***
> The following required parameters are missing:
> x_momentum_time/rho
> Doc String: "density"
>
> *** ERROR ***
> The following required parameters are missing:
> x_momentum_time/rho
> Doc String: "density"
>
> Can anyone tell me what is the reason for it? Is there any additional things
> to do.
>
> Can anyone point on any tutorial for modules outside phase field module that
> uses derivativeparsedmaterial as material class type ?
>
> Thanking you in advance.
> Yours Sincerely,Anil Kunwar
>
>
> On Saturday, February 10, 2018 7:36 PM, Anil Kunwar
> <
romagu...@gmail.com> wrote:
>
>
> Vitaliy,
> Thanks for the great contribution in coupling of phase field module with
> Navier-stokes module.
> Cheers.
> Yours Sincerely,
> Anil Kunwar
>
> On Tuesday, December 19, 2017 at 6:37:14 AM UTC+8, Vitaliy wrote:
> Dear Daniel,as we have discussed I would like to send you the input example
> file of droplet impact on the surface together with the necessary C and h
> files. zip contains some calculation results.In general, I use Cahn-Hilliard