Hi!
When I use a statement
Hi!
When I use a statement like: const LESmodel& sgsModel = mesh_.lookupObject<lesmodel>(dict_.name()); where dict_ referes to a dictionary that is passed as input (turbulentProperties). then I run, solver .. 001 I get the error: word::stripInvalid() called for string ..001constantturbulenceProperties It seems that name() member function of dictionary removes the "/" and that is causing a problem. How can I recover only "turbulenceProperties" of the name? This V1.3. Thanks. Best regards, Maka |
Try 1.5.x and see if that solv
Try 1.5.x and see if that solves your problem.
H |
The real problem is that you a
The real problem is that you are using the dictionary name() method, which returns a full-qualified fileName and not a word.
Try using the fileName::name() method to retrieve the last part of a path. ie, try this: const LESmodel& sgsModel = mesh_.lookupObject<lesmodel>(dict_.name().name()); |
Thanks for the help. Mark is r
Thanks for the help. Mark is right. His solution solves the problem.
Best regards, Maka. |
All times are GMT -4. The time now is 22:13. |