.. _material-create: ============================== Registering a Material ============================== .. note:: This chapter covers Quloud Ver.7.0.3 (checked on December 1, 2026). ------------------------------ Overview ------------------------------ A Material is the atomic structure you use in a calculation. Choose one of three ways to register a structure in your Project. 1. Search Materials Project for a crystal. 2. Search PubChem for a molecule or select a polymer preset. 3. Upload a structure file from your computer. You can also edit a registered structure in the Modeler and save it as a new Material. See :doc:`modeling`. ------------------------------ Prerequisites ------------------------------ - You must belong to the Project where you want to register the Material. - Your tenant must be able to create Materials. See :doc:`runjob` for usage restrictions. ------------------------------ Procedure ------------------------------ ############################## 1. Click "+ New Material" ############################## On the home screen, open your Project from the "Projects" tab. Click "+ New Material" at the top right of the "Materials" list. .. figure:: images/v70/jobs_and_models_atom_project_materials.png :alt: The Materials list has search, expand and New Material controls above the Name, Jobs and Updated columns. Each name has a CRY or MOL label. Materials list on the Project details screen The label beside each name identifies the structure type. ``CRY`` means crystal and ``MOL`` means molecule. ######################################### 2. Enter a name and specify the structure ######################################### In the "Create Material" dialog, enter the details below. .. figure:: images/v70/jobs_and_models_atom_create_dialog.png :alt: The Create Material dialog shows Name, Description and Software above three buttons for finding a crystal, finding a molecule or uploading a file. Create is disabled. Create Material dialog .. list-table:: :header-rows: 1 :widths: 20 80 * - Field - What to enter * - "Name" - Required. Enter the name you want to see in the Project's list. * - "Description" - Optional. The description appears on the Material details screen. * - "Software" - Leave the default, "None", to register just the Material. **Selecting software also creates a calculation Job.** See `Create a Job together with a Material from input files`_ below. * - "Atomic Structures" - Use one of the three buttons to choose a structure or upload files. The names of your selections appear below the buttons. **Choose at least one structure or upload a file to enable "Create".** ############################## 3. Click "Create" ############################## The new Material appears in the Project's "Materials" list. Click its name to open the Material details screen. See :doc:`jobdetail`. ---------------------------------- Register a crystal from a database ---------------------------------- Click "Search in Crystal DB" to search Materials Project. .. figure:: images/v70/jobs_and_models_atom_crystal_search.png :alt: The Search Crystal dialog shows Formula as the default Search Type, a required Query field and optional filters for crystal system, space group and number of sites. Search Crystal dialog Choose a "Search Type" and enter the corresponding value in "Query". .. list-table:: :header-rows: 1 :widths: 22 78 * - Search type - What to enter * - "Material IDs" - A Materials Project ID, such as ``mp-149``. * - "Formula" - A formula, such as ``Fe2O3`` or ``ABO3``. * - "Chemsys" - A combination of elements, such as ``Li-Fe-O``. * - "Elements" - Elements the structure must contain. To narrow your search, use "Crystal System", "Spacegroup Symbol" or "Num Sites". For "Num Sites", enter a single number such as ``5`` or a range such as ``5-20``. Click "Search". The "Material ID" in each result links to its Materials Project page. Select a row and click "Select" to return to "Create Material". ----------------------------------- Register a molecule from a database ----------------------------------- Click "Search in Molecule DB" and choose a source. .. list-table:: :header-rows: 1 :widths: 32 68 * - Menu item - What it provides * - "Search in PubChem" - A molecular structure from PubChem. * - "Select from Polymer Presets" - A polymer repeating unit from the preset list. ############################## Search PubChem ############################## .. figure:: images/v70/jobs_and_models_atom_molecule_search.png :alt: In Search Molecule, the Search Type defaults to Name and the Query field shows aspirin as an example. Search and Select are disabled while the field is empty. Search Molecule dialog Choose "Name", "Formula", "CID", "SMILES", "InChI" or "InChIKey" under "Search Type". The "Query" field shows an example for the selected type. Enter your query, click "Search", choose a result and click "Select". .. note:: A molecule must have a 3D structure to be registered. If a result shows "No 3D structure data", choose another result. ############################## Select a polymer preset ############################## .. figure:: images/v70/jobs_and_models_atom_polymer_preset.png :alt: The Select Polymer Preset table shows 10 of 13 repeating units, each with a checkbox, a polymer name, a SMILES string and an atom count. Select Polymer Preset dialog Use a preset to register a repeating unit for a RadonPy polymer calculation. Compare the SMILES strings and atom counts, select a row and click "Select". ------------------------------ Register a Material from files ------------------------------ Click "File Upload" to open the "Upload Files" dialog. .. figure:: images/v70/jobs_and_models_atom_file_upload.png :alt: The Upload Files dialog has a drop area above the Cancel and Upload buttons. Upload Files dialog Drag your files into the drop area, or click it to browse. You can select several files at once. Click "Upload". For a CIF, **each site must contain a single element with an occupancy of 1.** Quloud rejects files with partial occupancies or multiple elements at the same position. .. list-table:: :header-rows: 1 :widths: 30 70 * - Supported format - Files * - CIF - ``.cif`` * - XYZ - ``.xyz`` * - VASP - ``.vasp``, ``POSCAR``, ``CONTCAR`` * - XSF - ``.xsf`` * - LAMMPS - ``.lmp``, ``.data`` * - Engine input - Quantum ESPRESSO, OpenMX or RSDFT input files Other formats may work if Quloud can read the structure. If it cannot, you will see an error when you register the Material. ###################################################### Create a Job together with a Material from input files ###################################################### To run a calculation with input files you have already prepared, choose the corresponding option under "Software" and upload the files. **Quloud creates both the Material and a Job that uses those files directly.** .. list-table:: :header-rows: 1 :widths: 40 60 * - Software - Main input files * - "FLARE" - ``QuloudJob.yaml``, ``rsdft.atom`` * - "LAMMPS" or "LAMMPS+CHGNet" - ``in.QuloudJob``, ``QuloudJob.lmp`` * - "OpenMX" - ``openmx.in`` * - "Quantum ESPRESSO (PW)" - ``QuloudJob.scf.in`` * - "Quantum ESPRESSO (DOS)" - ``QuloudJob.scf.in``, ``QuloudJob.nscf.in``, ``QuloudJob.dos.in`` * - "Quantum ESPRESSO (BAND)" - ``QuloudJob.scf.in``, ``QuloudJob.nscf.in``, ``QuloudJob.bands.in`` * - "Quantum ESPRESSO (BAND with spin)" - ``QuloudJob.scf.in``, ``QuloudJob.nscf.in``, ``QuloudJob.bands.in``, ``QuloudJob.bands2.in`` * - "RSDFT" - ``rsdft.in``, ``rsdft.atom`` **Use the exact file names shown.** You can also upload pseudopotential files such as ``.upf`` files. When you click "Create", Quloud checks the files and reports an error if a required file is missing or its contents are invalid. The Job starts with the status "Registered". To run it, see :doc:`runjob`. ------------------------------ Notes ------------------------------ - **A Material belongs to one Project at a time.** To use it in another Project, choose "Move to another Project" on the Material details screen. See :doc:`jobdetail`. - If any Jobs use the Material, check the deletion conditions in :doc:`jobdetail`. - If Materials Project or PubChem does not respond to a search, try again later.