Conversation
|
Hi @dasvyat , Thanks for this PR. There is one more issue with salinity EOS. When you add additional species, like some tracer (does not matter whether you add it through alquimia or directly through ATS), we get an error
This is because the EOS is expecting single scalar and not a composite vector? In the salinity EOS, if we have more than one species, we should specify, which DOF is salt. if it helps, I add some print statements for debug in eos_evaluator.cc as and ran a simulation with salt and a tracer: ` if (!UnionAndConsistent_(names, Errors::Message message("Requested components are not consistent with previous request."); InitIndexMap_(); return this; and got this
|
|
Hi @saubhagya-gatech , thank you for testing this PR. I'll take a look at this issue shortly. D |
…ticomponent dependencies for mass and molar densities/
|
@dasvyat I'm not sure where we left this today -- is this still WIP then? Can you change the title of the PR to WIP until you are ready with the fixes to ensure compatibility? |
|
#20 554.3 /home/amanzi_user/amanzi/src/physics/ats/src/constitutive_relations/eos/eos_evaluator.cc:360:13: error: 'class Amanzi::CompositeVectorSpace' has no member named 'UpdateSameNumDofs' Is there a branch on Amanzi as well? Or do you need to push something on Amanzi? Make sure the branch names match if you need CI to pick up Amanzi's branch. |
|
@ecoon There is corresponding branch in amanzi dsv/swi_diffusion. I've double checked that UpdateSameNumDofs exists there, but CI takes master and this is causing this error. |
| auto bcs_list = Teuchos::sublist(plist_, "boundary conditions"); | ||
| auto conc_bcs_list = Teuchos::sublist(bcs_list, "mole fraction"); | ||
|
|
||
| int m = 0; |
There was a problem hiding this comment.
Is this needed? I don't see if this is used in the web API, but suspect it is old/dead/debugging code.
Dirichlet BC for transport diffusion. The default option currently is not enforcing Dirchlet BC. To enforce dirichlet BC it is required to add parameter in diffusion operator parameter list: