I have a study with 8 volume goals, 6 of which I was not using for convergence (for information only). When all 8 are included in the study, the solver hangs while it is "Collecting volume goals." I can close the solver immediately, and it does not ask if I want to stop the calculation or save results. When I suppress the 6 unused volume goals, the solver runs fine. Has anyone else had a similar problem when using volume goals?
SolidworksFlow Simulation
i think i ran into that once and it was a model problem. any interferences in the model?
There should not be in this model - all items inside the tank airspace are suppressed. I'm using the same volume for the disabled airspace (in component control) that I used for an extrude-cut to create the tank.
I allowed the simulation to sit for a long time yesterday and it was done when I came in this morning, so maybe it does work. I may switch to global goals just to be safe.
OK, I found a dirty workaround, but I'm still looking for answers.
What works: If I run the solver once, it hangs on "Collecting volumetric initial data..." and becomes detached from Solidworks (i.e. Solidworks is completely unaware of this instance of the solver and doesn't give any error messages). All I need to do to make the simulation run is to invoke the solver a second time, without doing anything else special. Just solve, leave the failed solver window opened, then solve again.
I tried a few different things to see if this was a simple case of needing to save the file before solving, rebuild, mesh first, etc., but nothing seems to work. My VBA code is nothing more than:
FDA.Solve(False,False,True)
FDA.Solve(True,True,True)
I added the "False" parameters to the first command to try to prevent the solver from generating a new mesh, but it still calculates a mesh anyway (maybe based on the older geometry, I'm not really sure).
This is really weird. I may try a few more things to see if they help, including deleting all unused flow project configurations (there are 19 of them since the API doesn't allow one to change internal fan CFM, but it does allow the active configuration to be changed). I'll report back if I find a better solution.
does it work if you launch things manually vs through api?
Nah, same result. I have to run the solver twice either way. I am starting to think there is a remnant of the volume goal that I tried somewhere - I deleted the VG, but maybe the flow project still contains a reference to it somewhere.
what about making a brand new study and then copying the stuff to that study just to see if it is a bad study?
Didi anyone find a solution? I have the same problem