CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 7 of 7
Search took 0.00 seconds.
Search: Posts Made By: alexeym
Forum: OpenFOAM Programming & Development April 8, 2015, 09:07
Replies: 14
Views: 3,949
Posted By alexeym
Hi, You error is NOT "the same" maybe it is...

Hi,

You error is NOT "the same" maybe it is similar. What is the type of


0.75*Cds*phase2->rho()*bp/d1


?
Forum: OpenFOAM Programming & Development March 16, 2014, 08:22
Replies: 14
Views: 3,949
Posted By alexeym
Units? You can plot 2/250*(pow(2,((100 -...

Units?

You can plot 2/250*(pow(2,((100 - T)/10))) in paraFoam using Calculator filter and see what you're adding to SC.
Forum: OpenFOAM Programming & Development March 16, 2014, 07:53
Replies: 14
Views: 3,949
Posted By alexeym
OK. What is the meaning of that 100?

OK. What is the meaning of that 100?
Forum: OpenFOAM Programming & Development March 16, 2014, 06:39
Replies: 14
Views: 3,949
Posted By alexeym
:D ^ operator in C/C++ is something...

:D

^ operator in C/C++ is something different (http://en.wikipedia.org/wiki/Operators_in_C_and_C%2B%2B#Bitwise_operators)

If you need exponentiation, you have to use pow...
Forum: OpenFOAM Programming & Development March 15, 2014, 17:39
Replies: 14
Views: 3,949
Posted By alexeym
Then you can create the field with ...

Then you can create the field with


volScalarField SC
(
IOobject
(
"SC",
runTime.timeName(),
mesh,
Forum: OpenFOAM Programming & Development March 15, 2014, 12:18
Replies: 14
Views: 3,949
Posted By alexeym
From your post I did not get why you need two...

From your post I did not get why you need two fields: SC and SCholder. If SC is just recalculated on every time step by addition certain values to it, why not just do this:


forAll(T, cellI)
{
...
Forum: OpenFOAM Programming & Development March 15, 2014, 09:16
Replies: 14
Views: 3,949
Posted By alexeym
Hi, 1. If you'd like to construct...

Hi,

1. If you'd like to construct volScalarField with NO_READ, you have to use different constructor, for example:


volScalarField p
(
IOobject
(
"p",
Showing results 1 to 7 of 7

 
Forum Jump

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