Thanks, Boyce!
I'm running the simulation with the new stress functions you provided for a couple of days now. I run 2 simulations with different bulk and sear moduli, corresponding to poison ratios of 0.4 & 0.45.
I'm printing the Jacobians, calculated as David suggested above (J=FF.det()), and I get exactly the same min and max reading for both Poison ratios. It's also the same printout as for the previous simulation, the one with the old stress functions.
So I assume I'm doing something wrong. The Jacobian printouts should be at list somewhat different for all those different simulations, right?
Perhaps I'm not registering the stress functions correctly, so the simulation doesn't even use them?
In the main file, I have:
// Configure the IBFE solver.
IBFEMethod::LagBodyForceFcnData target1_force_data(target1_force_function);
ib_method_ops->registerLagBodyForceFunction(target1_force_data, 0);
IBFEMethod::LagBodyForceFcnData target2_force_data(target2_force_function);
ib_method_ops->registerLagBodyForceFunction(target2_force_data, 1);
IBFEMethod::PK1StressFcnData PK1_dev_stress_data(PK1_dev_stress_function);
IBFEMethod::PK1StressFcnData PK1_dil_stress_data(PK1_dil_stress_function);
ib_method_ops->registerPK1StressFunction(PK1_dev_stress_data, 0);
ib_method_ops->registerPK1StressFunction(PK1_dev_stress_data, 1);
ib_method_ops->registerPK1StressFunction(PK1_dil_stress_data, 0);
ib_method_ops->registerPK1StressFunction(PK1_dil_stress_data, 1);
ib_method_ops->initializeFEEquationSystems();
EquationSystems* mesh1_equation_systems = ib_method_ops->getFEDataManager(0)->getEquationSystems();
EquationSystems* mesh2_equation_systems = ib_method_ops->getFEDataManager(1)->getEquationSystems();
PK1_dev_stress_data.quad_order = Utility::string_to_enum<libMeshEnums::Order>(input_db->getStringWithDefault("PK1_DEV_QUAD_ORDER","SEVENTH"));
PK1_dil_stress_data.quad_order = Utility::string_to_enum<libMeshEnums::Order>(input_db->getStringWithDefault("PK1_DIL_QUAD_ORDER","SEVENTH"));
Or perhaps I have something laking in the input3d file?
Maybe you have an idea what it might be?
thanks,
illy