CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

What's wrong with my case?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 29, 2017, 13:18
Default What's wrong with my case?
  #1
Member
 
Sadegh Ebadi
Join Date: Apr 2015
Posts: 75
Rep Power: 11
omid20110 is on a distinguished road
Hello everybody
May anyone read this:
https://bugs.openfoam.org/view.php?id=2773

And tell me what's wrong with my case as chris mentioned there?
omid20110 is offline   Reply With Quote

Old   December 4, 2017, 03:20
Default
  #2
Senior Member
 
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 292
Rep Power: 12
RobertHB is on a distinguished road
Point 1: The site bugs.openfoam is supposed to be used for reporting bugs and not, as in your case, questions about having problems with setting up a case. (chris 2017-11-28 19:19)

Point 2: Your case is the problem, not the software. As such you wont get support there and no one overthere will bother with your case (chris 2017-11-29 13:36)
RobertHB is offline   Reply With Quote

Old   January 1, 2018, 16:21
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

When in doubt about a bug and if you cannot hire commercial support, then you can always try asking here on the public forums.

As I've indicated on the bug report:
Quote:
Therefore, in order to isolate the origin of the problem, a complete case that has the full cylinder is also needed for comparing the results and what is happening.
This would make it a lot easier to figure out where the problem is coming from, either from a problem with using an asymmetrical configuration or because of there could be a bug in OpenFOAM.

Now, even if the objective is to speed up the simulation, jumping directly into the final case configuration is just not a good idea. This is OpenFOAM (although the same can happen with any CFD tool), you should always take small steps when creating a case, specially if you are not yet familiar with what you're doing.


My first guess without looking at the case, is that the direction of the injection does not match the direction of the axis.


I've now taken a look at the case... @omid20110: What exactly were you expecting when using the following entry in "sprayCloudProperties.subModels.injectionModels.mo del1":
Code:
flowType        pressureDrivenVelocity;
And then forgetting to have any velocity or pressure difference in the "0" folder?

If I'm interpreting this correctly, it's as if you forgot to turn on the fan and expect it to work. No wonder people were upset with your bug report

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   January 2, 2018, 03:07
Default
  #4
Member
 
Sadegh Ebadi
Join Date: Apr 2015
Posts: 75
Rep Power: 11
omid20110 is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Greetings to all!

When in doubt about a bug and if you cannot hire commercial support, then you can always try asking here on the public forums.

As I've indicated on the bug report:

This would make it a lot easier to figure out where the problem is coming from, either from a problem with using an asymmetrical configuration or because of there could be a bug in OpenFOAM.

Now, even if the objective is to speed up the simulation, jumping directly into the final case configuration is just not a good idea. This is OpenFOAM (although the same can happen with any CFD tool), you should always take small steps when creating a case, specially if you are not yet familiar with what you're doing.


My first guess without looking at the case, is that the direction of the injection does not match the direction of the axis.


I've now taken a look at the case... @omid20110: What exactly were you expecting when using the following entry in "sprayCloudProperties.subModels.injectionModels.mo del1":
Code:
flowType        pressureDrivenVelocity;
And then forgetting to have any velocity or pressure difference in the "0" folder?

If I'm interpreting this correctly, it's as if you forgot to turn on the fan and expect it to work. No wonder people were upset with your bug report

Best regards,
Bruno
Hello dear Bruno,
Thanks for replying (although it's a little bit late )
First of all I should tell that I had run the case with a full cylinder and the problem was solved! Now I'm using a 30 degree vector of that cylinder (3D case) for my simulations and again the problem is solved and I'm sure that the problem is due to using a wedge case and boundary conditions!

Yes the flow type in the spray cloud properties is pressureDrivenVelocity and because of this I have specified a P_inj there!

Also about this problem...One of my friends had run the 2D(wedge) case with dieselFoam and didn't face this type of problem!

Last edited by wyldckat; January 2, 2018 at 06:41. Reason: merged posts 1 minute apart
omid20110 is offline   Reply With Quote

Old   January 2, 2018, 06:46
Default
  #5
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answers:
Quote:
Originally Posted by omid20110 View Post
First of all I should tell that I had run the case with a full cylinder and the problem was solved! Now I'm using a 30 degree vector of that cylinder (3D case) for my simulations and again the problem is solved and I'm sure that the problem is due to using a wedge case and boundary conditions!
I'm glad you've gotten the simulation to work with full and 30 degree cylinders! And you only changed the mesh and replace the wedge boundaries or did you need to change anything else?

Quote:
Originally Posted by omid20110 View Post
Yes the flow type in the spray cloud properties is pressureDrivenVelocity and because of this I have specified a P_inj there!
That goes to show how little I know about this injection model

Quote:
Originally Posted by omid20110 View Post
Also about this problem...One of my friends had run the 2D(wedge) case with dieselFoam and didn't face this type of problem!
With the same injector or a different injector? And did the case have an inlet and an outlet?
wyldckat is offline   Reply With Quote

Old   January 3, 2018, 06:24
Default
  #6
Member
 
Sadegh Ebadi
Join Date: Apr 2015
Posts: 75
Rep Power: 11
omid20110 is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Quick answers:

I'm glad you've gotten the simulation to work with full and 30 degree cylinders! And you only changed the mesh and replace the wedge boundaries or did you need to change anything else?


That goes to show how little I know about this injection model


With the same injector or a different injector? And did the case have an inlet and an outlet?
In the 2D case I had created a wedge geometry (4 degrees) as described in OF user guide. Also I tried it with different mesh resolutions but it also didn't solve the problem.

Yes with the same injector. The case is a combustion chamber with an inlet and without any outlet. For more information you can check Sandia Spray H properties at this link:
http://www.ca.sandia.gov/ecn/cvdata/...h/frameset.php

I don't know what have been change in the sprayFoam compared to the dieselFoam that cause this type of problem in wedge 2d cases!
omid20110 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple channel case using cyclicAMI will not converge cbcoutinho OpenFOAM Running, Solving & CFD 3 August 4, 2015 12:28
Numerical error or case error? Flow in a 3D pipe fsalvucci OpenFOAM 40 January 30, 2013 07:10
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 12:24
what's wrong with my case?????? zhu FLUENT 0 August 2, 2006 09:58
Turbulent Flat Plate Validation Case Jonas Larsson Main CFD Forum 0 April 2, 2004 10:25


All times are GMT -4. The time now is 19:11.