|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Join Date: May 2010
Posts: 1
Rep Power: 0 ![]() |
Hello,
Does anyone know where I can find how to use the boundary conditions? I've looked at the user guide which tells me that a range of BCs are available at src/finiteVolume/fields/fvPatchFields/derived. But I don't know how to use them. I don't understand what goes with what (for example, a specific BC goes with mixed or calculated?). I'm studying a flow with an inlet (with a definite velocity) and an outlet. I don't know which BC I have to put for these 2 surfaces (inlet and outlet). As there is no gravity in my problem, I guess I should take a BC which fixes the pressure to zero for the outlet, but I don't know which one. Could anyone help me? thanks a lot in advance. |
|
|
|
|
|
|
|
|
#2 |
|
Member
David
Join Date: Dec 2009
Location: Spain
Posts: 62
Rep Power: 18 ![]() |
For the velocity, you can put:
Code:
inlet
{
type fixedValue;
value uniform (your inlet value, vector);
}
outlet
{
type zeroGradient;
}
Code:
inlet
{
type zeroGradient;
}
outlet
{
type fixedValue;
value uniform 0;
}
Regards David |
|
|
|
|
|
|
|
|
#3 |
|
Member
David
Join Date: Dec 2009
Location: Spain
Posts: 62
Rep Power: 18 ![]() |
Repeated post
Last edited by David_010; May 26, 2010 at 07:08. Reason: Repeated post |
|
|
|
|
|
|
|
|
#4 |
|
Member
Join Date: Jun 2010
Posts: 33
Rep Power: 17 ![]() |
Hey David,
So what happens when you switch to turbulent? Can you keep the same boundary fields?? T |
|
|
|
|
|
|
|
|
#5 |
|
New Member
Join Date: Jun 2010
Posts: 23
Rep Power: 17 ![]() |
Hi Foamers,
I have the same question : are you sure it works only in a laminar case, one told me to use such conditions in my turbulent case. If it does not work in a turbulent case, do you know what kind of boudnary conditions would work so ? Cheers PS : Finally those conditions did not work in my DNS case, it gives me a field without any variation ... Help ^^ Last edited by NorbertB; June 28, 2010 at 08:01. |
|
|
|
|
|
|
|
|
#6 |
|
New Member
Tony
Join Date: Jun 2010
Posts: 2
Rep Power: 0 ![]() |
Hi All,
Does anyone know how to specify (in COMSOL) an inlet velocity profile from a previously solved model's outlet velocity profile? I've been trying to create a Fourier Series representation of the profile over time, but I am having trouble doing this with a space and time dimension together. Any help greatly appreciated. Thank you! |
|
|
|
|
|
|
|
|
#7 | |
|
New Member
|
Quote:
1. in constant/polyMesh/boundary inlet { type directMappedPatch; nFaces #; startFace #; offset (0 0 1); // offset (0 0 1) is the distance between the inlet and the outlet sampleMode nearestPatchFace; samplePatch outlet; } 2. in 0/U inlet { type directMappedFixedValue; value (0 0 0); setAverage true; average (0 0 2); } Then you can check whether you want results. |
||
|
|
|
||
|
|
|
#8 |
|
New Member
|
I also have problems on defining the bounary. For pressure, when using zeroGradient for inlet, everything goes well. After changing zeroGradient to calculated, I get this message:
valueInternalCoeffs cannot be called for a calculatedFvPatchField on patch inlet of field p in file "/home/flow/OpenFOAM/flow-1.6/run/pipe/tphase/ke/0/p" You are probably trying to solve for a field with a default boundary condition. From function calculatedFvPatchField<Type>::valueInternalCoeffs( const tmp<scalarField>&) const in file fields/fvPatchFields/basic/calculated/calculatedFvPatchField.C at line 145. can anyone tell us how to use the boundary conditions? Thanks beauty |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Wind turbine simulation | Saturn | CFX | 60 | July 17, 2024 06:45 |
| ATTENTION! Reliability problems in CFX 5.7 | Joseph | CFX | 14 | April 20, 2010 16:45 |
| RPM in Wind Turbine | Pankaj | CFX | 9 | November 23, 2009 05:05 |
| Convective Heat Transfer - Heat Exchanger | Mark | CFX | 6 | November 15, 2004 16:55 |
| New topic on same subject - Flow around race car | Tudor Miron | CFX | 15 | April 2, 2004 07:18 |