We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
materials method make_a_copy returns string as follows:
>>> x=solver.setup.materials.fluid.make_a_copy(from_="water",to="water-2") >>> x "'water"
Rename goes like this (it returns a string list):
>>> solver.setup.materials.fluid.rename(old="bob", new="bobby") ["'bob"]
create behaves differently to make_a_copy. create returns an object. Why only this one?
>>> mysolid = solver.setup.materials.solid.create("mysolid") >>> mysolid <flapi.flobject.child_object_type object at 0x00000000D30002E0> >>> mysolid.chemical_formula = "SiO2" >>> mysolid.density = 2650
The text was updated successfully, but these errors were encountered:
Discussion from Scrum (24/09/2024)
solver.setup.materials.fluid.make_a_copy(from_="water",to="water-2") -->> Should return python object like 'create'
solver.setup.materials.fluid.rename(old="bob", new="bobby") -->> Can be fixed from settings-api to not return anything
Sorry, something went wrong.
prmukherj
No branches or pull requests
materials method make_a_copy returns string as follows:
Rename goes like this (it returns a string list):
create behaves differently to make_a_copy. create returns an object. Why only this one?
The text was updated successfully, but these errors were encountered: