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 5 of 5
Search took 0.00 seconds.
Search: Posts Made By: mm.abdollahzadeh
Forum: OpenFOAM Programming & Development August 7, 2012, 11:04
Replies: 15
Views: 4,932
Posted By mm.abdollahzadeh
Dear Cyprein I have done it with...

Dear Cyprein

I have done it with internalfield. the problem was to replace 0 with scalar(0) but there is one problem.

A.dimensionedInternalField()=min(scalar(0),B.dimensionedInternalField()); ...
Forum: OpenFOAM Programming & Development August 7, 2012, 08:05
Replies: 15
Views: 4,932
Posted By mm.abdollahzadeh
thanks Cyprein, it works

thanks Cyprein, it works
Forum: OpenFOAM Programming & Development August 7, 2012, 07:56
Replies: 15
Views: 4,932
Posted By mm.abdollahzadeh
Thanks again ,,, I think the problem is not...

Thanks again ,,, I think the problem is not related the "c" .

the error is :


error: no matching function for call to 'min(int, Foam::volScalarField&)'...
Forum: OpenFOAM Programming & Development August 7, 2012, 07:49
Replies: 15
Views: 4,932
Posted By mm.abdollahzadeh
Yes I have tried, even for the follwing equations...

Yes I have tried, even for the follwing equations if I remove the .value() it is giving error.

A=min(0,c.value());
A.internalField()=min(0,c.value());
...
Forum: OpenFOAM Programming & Development August 7, 2012, 07:38
Replies: 15
Views: 4,932
Posted By mm.abdollahzadeh
Hi Stefan and Cyprien I want to calculate...

Hi Stefan and Cyprien

I want to calculate the following relation.

A=min(0,c*B);

Which A and B are Volscalerfield and c diminesedscaler.
for the c i have used .value().

But I am receiving...
Showing results 1 to 5 of 5

 
Forum Jump

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