reading nodal data from XML file
I am interested in having some restart capability in my script. Essentially, I need to be able to load my last converged nodal displacement solution from an XML file, and use this as the initial solution state for future load increments..... this is required as my multifield problem at times diverges, and I don't want to start again from the first load increment.
demo.py in pde/advection-
V = VectorFunctionS
velocity = Function(V, "../velocity.
But I would prefer the following:
V = VectorFunctionS
And at every restart point:
input= File(".
input >> V;
but this returns:
TypeError: in method 'File___rshift__', argument 2 of type 'dolfin:
So is there a way to initialize a scalar/vector nodal field from a XML file?
--shiva
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Siva Shankar Rudraraju for more information if necessary.