GROMACS: MINFF mineral force field (structure → atom types/charges → MD)
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 25/100
Piste de recherche
Start by reviewing the existing GROMACS MD workflow in issue #106 and the MINFF/atomipy assignment workflow described here. The issue names no ECCE implementation files or tests; its proposed tests use kaolinite and montmorillonite from minff's Systems folder and compare against atomipy output, then run grompp and a short energy minimisation. Done means the full structure-to-assignment-to-simulation workflow works in ECCE, including reported charges and untyped atoms.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Goal
Support the MINFF force field for minerals in ECCE's GROMACS workflow: clay minerals, oxides, hydroxides and zeolites, with Si, Al, Fe, Mg, Ca, Ti, Li and F. A user should be able to take a mineral unit cell, build a simulation cell from it, have MINFF atom types and charges assigned, and run energy minimisation, equilibration and dynamics, all from ECCE.
This builds on GROMACS activation via the MD workflow (#106, in progress on wip/gromacs-md).
What MINFF consists of
-
Parameters as a GROMACS force-field directory (
min.ff):- a general set (GMINFF) and mineral-specific sets (TMINFF, over 30 minerals);
- each set in four angle force constants (0, 250, 500 and 1500 kJ/mol/rad²);
- oxygen Lennard-Jones parameters taken from the OPC3 water model by default.
-
Atom-type and charge assignment, which is structure-dependent:
- types come from nearest neighbours;
- oxygen charges are computed per system (charge smearing after Lammers et al. 2017), e.g. around isomorphic substitutions and edge groups.
This is implemented in atomipy (Python, PyPI, MIT licence) and in the MATLAB/Octave
atomlibrary. ECCE therefore has to run the assignment rather than only ship parameter files. -
Example systems (unit cells,
conf.mdp,topol.top) in the minff repository.
Proposed workflow in ECCE
- Structure:
- import a mineral unit cell (
.pdb,.gro, CIF), with the cell vectors; - replicate it to a supercell (n_a × n_b × n_c);
- optionally substitute atoms with a minimum separation (e.g. Al→Mg), as atomipy does.
- import a mineral unit cell (
- Force-field choice:
- general or mineral-specific MINFF (mineral list taken from
min.ff); - angle force constant;
- water model.
- general or mineral-specific MINFF (mineral list taken from
- Assignment:
- ECCE runs atomipy;
- it writes the mineral
.itp, the.groand atopol.topthat includesmin.ff; - it reports the total charge and any atoms left untyped.
- Show the result:
- atoms coloured by MINFF type;
- charges available as a property.
- Simulation with the GROMACS MD tasks (#106): EM → NVT/NPT → MD, with
.mdppresets derived from the minff exampleconf.mdp. - Later:
- solvation and counter-ions (hydrated clays, e.g. Na-montmorillonite);
- analysis (#180).
Design rules
- The topology builder is a wx-free component with a command-line entry point and tests. The ECCE windows only collect the choices and display results.
- Tests: kaolinite and montmorillonite from the minff
Systemsfolder are built with ECCE's builder. They are checked against topologies produced by atomipy run directly (atom types, charges, total charge), and then go throughgromppand a short EM with real GROMACS. - Parameter files:
min.ffis fetched from the minff repository at build/test time and not copied into this repository. It can be bundled once the minff repository carries a licence. - Platforms: Linux and macOS (Homebrew
gromacs).
Open questions for GROMACS/MINFF users
- Which minerals and systems should come first?
- Is the general set with k = 500 the right default?
- Should ECCE offer CLAYFF (also supported by atomipy) alongside MINFF?
- Which
.mdpsettings should the presets use: cut-offs, PME, thermostat/barostat, semi-isotropic pressure coupling for clay layers?
- Langage dominant
- C
- Étoiles
- 10
- Forks
- 8
- Merge moyen
- 21 min
- PR mergées (30 j)
- 1
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de FriendsofECCE/ECCE
-
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
FriendsofECCE/ECCE#336 · 1 commentaire ·
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 35/100
FriendsofECCE/ECCE#370 · 1 commentaire ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
FriendsofECCE/ECCE#369 · 2 commentaires ·
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 35/100
FriendsofECCE/ECCE#368 ·
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
FriendsofECCE/ECCE#367 · 2 commentaires ·
Toutes les issues de FriendsofECCE/ECCE
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
FujiNetWIFI/fujinet-firmware#2079 ·
Les mainteneurs répondent en général sous 1 jour
-
bug Official Image release/25.12 Supported Device target/kirkwood
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 1 jour
-
area/archive bug
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
DarkFlippers/qUnleashed#374 ·
Les mainteneurs répondent en général sous 1 jour
-
Missing options in yara man pageOuvertebug
Difficulté 1/5 Moins d'une heure Accessibilité débutants 84/100
VirusTotal/yara#2255 ·
-
Add SupportsTransactions flagOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100