CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Problem in Result in bottom outlet (https://www.cfd-online.com/Forums/cfx/119951-problem-result-bottom-outlet.html)

ali92 July 6, 2013 08:00

Before I simulate steady state, I did transient. But this way last 10 days!
In addition, results are not logical. In this case air velocity in inlet2 is very high!
(120m/s)

mjgraf July 6, 2013 13:44

if you have a free surface in this model, the elevation where the interface is expected need to have a nicely resolved mesh, ie. fine mesh. If the mesh volumes are too large the interface will be one large blur spread over several large elements. In icem I would just put in a mesh density box where I expect it to be.

this geometry also looks like a prime candidate for a hex mesh, if you are familiar with it. If not, that tetra mesh needs to be improved in both resolution and quality.

you try running single phase with water only to fill the channel? Run that and see what the flow looks like, adjust the mesh as necessary. Check those yplus, at those water velocities, the near wall spacing needs to be done properly. Once you get a stable and accurate single phase, steady state solution, start adding complexity.

ghorrocks July 7, 2013 06:10

Ali: Have you read the FAQ I posted ages ago? http://www.cfd-online.com/Wiki/Ansys..._inaccurate.3F

There are many things you need to check to have an accurate CFD model, and the more complex it is the more things you need to check.

ali92 July 7, 2013 07:51

Hello mjgraf
thanks for your advice.
I just have free surface flow down stream of gate.(Not in the whole tunnel) In upstream of gate, flow is pressurized. Resolution for interface is mesh adaption(criteria adaption:water volume fraction ). But unfortunately, in the end of first step gives error. (for example after 50 iteration)!
I think I have to simulate this simulation with two phase model. Because I need to see air velocity in the air vent after my gate.
At first I use hexahedral mesh, but my results were not as good as tetrahedral mesh. (body sizing:.4m face sizing:.2m)

ali92 July 7, 2013 08:13

Hello Glenn
thanks for your advice too.
I have read FAQ precisely. It is said:
If these parameters are not changing to an accuracy tolerance suitable for your simulation then your simulation is almost certainly OK as it is and no further work needs be done.
For 100 percent gate:
My important parameters(I mean air velocity in air vent(inlet2) and pressure in the beginning of my tunnel(inlet1)) sufficiently converged even though my specified criteria(1e-4) has not been met.
air velocity: 50m/s
water pressure: 1e6 pa
For 20 percent gate:
In this opening of gate with the same mesh (applied in 100 percent) I wonder why my pressure is so small.(6e5) Where as it should be 1.2e6.
In this opening my mass flow rate in inlet 1 is 34000kg/s. but in the 100 percent opening was 232000 kg/s.

ghorrocks July 7, 2013 08:37

How are you modelling the gate?

ali92 July 7, 2013 09:31

1 Attachment(s)
It is indicated in the following picture.

mjgraf July 7, 2013 15:05

my suggestion still stands. no harm in running it without air to check stability, etc.

also, what is the outlet boundary condition?

I assume that knife edge block off in the channel is your gate?
Air inlet is there the large arrow is located?

ali92 July 8, 2013 00:51

Yes it is. Knife edge is my gate. I emphasize tunnel before gate is pressurized.(is not free surface flow) and after gate is free surface flow.
My air inlet is large arrow in the picture. Boundary condition for this inlet is pressure=0.(VFWater=0 VFAir=1)

My main inlet boundary condition main inlet can be specific mass flow rate or specific pressure.(VFWater=1 VFAir=0) But I prefer mass flow rate.

My outlet boundary condition is Pressure=0 but, for prevent error A wall has been placed in portion of an outlet, I assume there is water with depth .2 m in outlet boundary.

According you I decided to use icem for meshing. May be it is useful. But what is yplus? and how do I check this parameter? and What do you indicated with this parameter?

ghorrocks July 8, 2013 08:09

Mesh quality is very important for free surface models. Improving the mesh will be worthwhile.

Why model the flow upstream of the gate? Can't you specify the flow at the gate accurately enough? This would save a lot of meshed area so your simulation runs faster.

ali92 July 8, 2013 10:19

What is important to me is velocity and pressure downstream of the gate for estimate cavitation index. I can simulate shorter length of upstream of the gate. It only have conducted to ensure of my model .


By the way, How can I improve mesh quality in this model?
I do not know why my results are not good with hexahedral mesh? It is as follows:
Mesh sizing:
-Min size: .03
-Max face size: 1.5
-Max size: 2
Body sizing: .4 m
Face sizing: .2 m
I cannot use smaller mesh because of limitation in my computer.
In your opinion , It is useful icem mesh for my work?
Thanks for your attention.

ghorrocks July 13, 2013 07:18

You need to do a mesh sensitivity study for any simulation. If it says that you need a finer mesh then you need to find a way, get a bigger computer or say the required simulation accuracy is not possible with resources available.

I would also do some simple studies using simplified geometries before tackling the true geometry. Find out how important mesh size and quality is.

ali92 July 15, 2013 04:31

thanks a lot.
I have a problem in CFX Solver. I want to use Hp MPI Local Parallel in Run Mode. But after little time solver was stopped.
If MPI CH2 Local Parallel is applied, I face with Error 255.
My system CPU has 2 core. Solver set 2 partition automatically.
What is the solution to this problem?
Is there any setting in advanced controls that I must do?

+--------------------------------------------------------------------+
| |
| Partitioning |
| |
+--------------------------------------------------------------------+




+--------------------------------------------------------------------+
| |
| ANSYS CFX Partitioner 13.0 |
| |
| Version 2010.10.01-23.02 Sat Oct 2 02:26:59 GMTDT 2010 |
| |
| Executable Attributes |
| |
| single-int32-32bit-novc8-noifort-novc6-optimised-supfort-noprof-nos|
| |
| Copyright 2010 ANSYS Inc. |
+--------------------------------------------------------------------+





+--------------------------------------------------------------------+
| Job Information |
+--------------------------------------------------------------------+

Run mode: partitioning run

Host computer: IDEAL-PC (PID:1568)
Job started: Mon Jul 15 14:05:01 2013


+--------------------------------------------------------------------+
| Memory Allocated for Run (Actual usage may be less) |
+--------------------------------------------------------------------+

Data Type Kwords Words/Node Words/Elem Kbytes Bytes/Node

Real 2207.3 8.82 1.59 8622.4 35.28
Integer 25007.7 99.93 17.97 97686.1 399.74
Character 3232.9 12.92 2.32 3157.2 12.92
Logical 80.0 0.32 0.06 312.5 1.28
Double 600.5 2.40 0.43 4691.4 19.20

+--------------------------------------------------------------------+
| Mesh Statistics |
+--------------------------------------------------------------------+

Domain Name : Default Domain

Total Number of Nodes = 250240

Total Number of Elements = 1391859
Total Number of Tetrahedrons = 1391859

Total Number of Faces = 68792

+--------------------------------------------------------------------+
| Vertex Based Partitioning |
+--------------------------------------------------------------------+

Partitioning of domain: Default Domain

- Partitioning tool: MeTiS multilevel k-way algorithm
- Number of partitions: 2
- Number of graph-nodes: 250240
- Number of graph-edges: 3352988

+--------------------------------------------------------------------+
| Partitioning Information |
+--------------------------------------------------------------------+

Partitioning information for domain: Default Domain

+------------------+------------------------+-----------------+
| Elements | Vertices | Faces |
+------+------------------+------------------------+-----------------+
| Part | Number % | Number % %Ovlp | Number % |
+------+------------------+------------------------+-----------------+
| Full | 1391859 | 250240 | 68792 |
+------+------------------+------------------------+-----------------+
| 1 | 683140 48.9 | 125603 49.9 0.7 | 42855 62.1 |
| 2 | 713299 51.1 | 126330 50.1 0.7 | 26119 37.9 |
+------+------------------+------------------------+-----------------+
| Sum | 1396439 100.0 | 251933 100.0 0.7 | 68974 100.0 |
+------+------------------+------------------------+-----------------+

+--------------------------------------------------------------------+
| Partitioning CPU-Time Requirements |
+--------------------------------------------------------------------+

- Preparations 2.200E+00 seconds
- Low-level mesh partitioning 2.652E-01 seconds
- Global partitioning information 3.120E-02 seconds
- Element and face partitioning information 4.680E-02 seconds
- Vertex partitioning information 1.560E-02 seconds
- Partitioning information compression 1.560E-02 seconds
- Summed CPU-time for mesh partitioning 2.590E+00 seconds


+--------------------------------------------------------------------+
| Job Information |
+--------------------------------------------------------------------+

Host computer: IDEAL-PC (PID:1568)
Job finished: Mon Jul 15 14:05:05 2013
Total CPU time: 3.245E+00 seconds
or: ( 0: 0: 0: 3.245 )
( Days: Hours: Minutes: Seconds )

Total wall clock time: 4.000E+00 seconds
or: ( 0: 0: 0: 4.000 )
( Days: Hours: Minutes: Seconds )


+--------------------------------------------------------------------+
| |
| Solver |
| |
+--

ghorrocks July 15, 2013 21:49

Have you followed the parallel installation instructions in the documentation?

Can you run something simple (such as a tutorial) in parallel?

ali92 July 16, 2013 09:25

Thanks for your good advice.
Yes,I followed the parallel installation instructions in the documentation.

I try two problems in the tutorial, but I can not run in parallel. These problems had exactly similar errors!

furthermore,When I want to select Type of Run to Full, Full is selected and it is unchangeable! Is it a problem?

I have another question about Y plus. What should be the range of y plus? In my simulation this is 5000 to 140000. Is it correct?

ghorrocks July 16, 2013 18:58

You obviously have a fundamental problem with your parallel setup. These are just about impossible to fix on the forum so we will not be able to help you much. I would remove the software and reinstall, and if that does not work talk to CFX support.

As for y+, you should do a sensitivity analysis and find out. But for simulations where boundary layer behaviour is important that y+ is almost certainly too big.

ali92 July 28, 2013 15:16

"Indirect start method returned non-zero exit code"Error
 
1 Attachment(s)
Hi friends.
I use six computers for solving my problem.
I cannot understand why following error is appeared?
"Indirect start method returned non-zero exit code"

mjgraf July 28, 2013 15:33

suggestion you check the installation manual for setting up and using distributed computing in windows.

your ERROR: looked clear in the solver manager, non UNC path.

ali92 July 29, 2013 09:27

multizone in meshing
 
1 Attachment(s)
thanks.
I have another question. When I want to use multizone for meshing, the following error appears.(indicated in picture)
I want to use hexa mesh in my simulation.
In your opinion what should I do for this problem?
Even I used various Free Mesh Type, but did not produce any mesh!

ghorrocks July 29, 2013 21:54

This question is best asked on the ANSYS Geometry and meshing forum.

But I can tell you straight away that your geometry will require a tet mesh, unless you go to an advanced hex mesher like ICEM.


All times are GMT -4. The time now is 02:31.